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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query question

Status
Not open for further replies.

mcginty

IS-IT--Management
Mar 14, 2001
35
IE
Hi All,

I have a form with 3 drop downs, based on a query with the criteria pointing to the forms dropdowns. Each of the criterias are in different 'Or' sections so when the form is refreshed the query works. Is it possible to use the three criteria as 'and' criteria but if only two fields are populated, the query runs based on the two criteria options.

This probably makes no sense at all, but maybe somebody can help.

Rgds,
Ted
 
You would need a little code to check the drop down values. Create your sql statements and away you go. Pretty straight forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top