A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Parameter prompt when form is open



 
 
Thread Tools Display Modes
  #1  
Old April 11th, 2010, 10:48 PM posted to microsoft.public.access.queries
Cadburys
external usenet poster
 
Posts: 13
Default Parameter prompt when form is open

Hi

I have multiple queries based on queries - each builds (with various
parameters from a form) up to the final query which I am using as the source
for a form.

Suddenly the query keeps prompting me for the value even though the form is
open. Even the first query is doing this.

Here is the sql

SELECT [Task List].*, [Forms]![Main]![cmbClient] AS ClientSelect
FROM [Task List]
WHERE ((([Forms]![Main]![cmbClient])=[Client] Or
([Forms]![Main]![cmbClient]) Is Null));

The form called "Main" is open but is not been "seen".

Any help or guidance would be appreciated.

Thanks
--
Cheers
  #2  
Old April 11th, 2010, 11:01 PM posted to microsoft.public.access.queries
Ken Snell
external usenet poster
 
Posts: 177
Default Parameter prompt when form is open

Is the query being used as the RecordSource for a subform on the Main form?
Or as the RecordSource for the Main form?

--

Ken Snell
http://www.accessmvp.com/KDSnell/


"Cadburys" wrote in message
...
Hi

I have multiple queries based on queries - each builds (with various
parameters from a form) up to the final query which I am using as the
source
for a form.

Suddenly the query keeps prompting me for the value even though the form
is
open. Even the first query is doing this.

Here is the sql

SELECT [Task List].*, [Forms]![Main]![cmbClient] AS ClientSelect
FROM [Task List]
WHERE ((([Forms]![Main]![cmbClient])=[Client] Or
([Forms]![Main]![cmbClient]) Is Null));

The form called "Main" is open but is not been "seen".

Any help or guidance would be appreciated.

Thanks
--
Cheers



  #3  
Old April 13th, 2010, 01:06 PM posted to microsoft.public.access.queries
Cadburys
external usenet poster
 
Posts: 13
Default Parameter prompt when form is open

Hi Ken

Thanks for your reply. It seem to come right all by itself (shut down and
restarted...)

Thanks.
--
Cheers


"Ken Snell" wrote:

Is the query being used as the RecordSource for a subform on the Main form?
Or as the RecordSource for the Main form?

--

Ken Snell
http://www.accessmvp.com/KDSnell/


"Cadburys" wrote in message
...
Hi

I have multiple queries based on queries - each builds (with various
parameters from a form) up to the final query which I am using as the
source
for a form.

Suddenly the query keeps prompting me for the value even though the form
is
open. Even the first query is doing this.

Here is the sql

SELECT [Task List].*, [Forms]![Main]![cmbClient] AS ClientSelect
FROM [Task List]
WHERE ((([Forms]![Main]![cmbClient])=[Client] Or
([Forms]![Main]![cmbClient]) Is Null));

The form called "Main" is open but is not been "seen".

Any help or guidance would be appreciated.

Thanks
--
Cheers



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:13 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.