query from combo

K

KKruz

I have a query in which I have criteria entered from several controls on a form
combo list
text field
date field

If one of the criteria is missing I get no records.

I have tried to use a IIf statement without success.
IIf(is null [combo],"",[combo])

I beleive it is failing because I am using "" which is setting the criteria
for that field as nothing along with the other fields and therefore resulting
in no records.

Is there another way to ignore blank input fields from the form and set the
criteria in the query grid?

Thanks,

Kurt
 

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