Criteria in query

geralf

Registered User.
Local time
Today, 13:33
Joined
Nov 15, 2002
Messages
212
I have a query which is a source for a listbox. I have a criteria in this query. The criteria is set from two controls on the form. After setting the criterias in the form, the query is re-quyered. This work fine, except for when one or two of the criteria controls are blank (Null). In this case I would like to have no criteria for the query, so all records are returned. How can I do this?

Thanks in advance for any help
 
Thanks for your help and link. Now I know how to use the null as a criteria.

Thanks
 

Users who are viewing this thread

Back
Top Bottom