Empty parameter in a query

  • Thread starter Tiziana Venturini
  • Start date
T

Tiziana Venturini

On a form I have 3 combobox that contain the parameters for my query.
The user can select all the values or only one value or only two values.

Obviously the result changes every time
How I can construct the SQL string that it takes only the selected values
and it ignores the null values?

Thanks in advanced
Tiziana Venturini
 

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