Help with Null in parameter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone tell mt how to get a "All" value in a parameter for a query. I
have two parameters for a query, the fist I would like to add a parameter,
but the second I would like to have the option to not add a parameter, so
this would fill the field with all records that meet the first parameter.
Thank you in advance.
 
where Field1 = Parameter1 and (field2=parameter2 or Parameter2 is null)
 

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

Back
Top