Parameter prompt when form is open

C

Cadburys

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
 
K

Ken Snell

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

Cadburys

Hi Ken

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

Thanks.
--
Cheers


Ken Snell said:
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 said:
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


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top