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

query by form

Status
Not open for further replies.

muumigirl

MIS
Nov 23, 2003
5
EE
how to do the search form? the forme has 4 fields, if you fill in all the fealds on the form, then how to make a query on that? all the fields don't have to be filled
 
Hi

At its simplest make the criteria in the Query

IsNull OR Forms!MyFormName!MyTextBoxName

using the appropriate values for the name of your form and the name of your text box(s), on the form

The form must be open when the query runs

You need also to think if the four conditions are AND or OR conditions, ie do you want a row selected only if all four are true, or if any one of them is true



Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top