Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Query

Status
Not open for further replies.

aids2

Technical User
Mar 20, 2003
18
AU
I have a form that contains 3 combo boxes that are used as the basis for a query.
The problem I have is 1 or more of the combo boxes can contain a null entry.
How do I get the query to search for the 3 parameters even if 1 is empty?
I have tried using combinations of the And/Or criteria and none of them seem to work. I have tried concantenating the fields together and then using my combo criteria to search the new field.
Any guidance on this problem would be greatly appreciated.
 
in the query use like "*" & [mycombobox]
or try nz(mycombobox) 'null to 0 funtion'
that will return all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top