Hi All,
I have a query running on my database built within a form that has 2 drop down boxes to stipulate search criteria, ie: Status and Make.
The query works perfectly fine, as long as both fields are filled in. What i would like is if one of the fields is left blank, the query should return all results of the other criteria.
After googling, I found this suggestion :
=Forms!yourform.combobox OR Forms!yourform.combobox Is Null
However when I try add the second part, it keeps complaining about syntax or missing operator.
What am I doing wrong?
I have a query running on my database built within a form that has 2 drop down boxes to stipulate search criteria, ie: Status and Make.
The query works perfectly fine, as long as both fields are filled in. What i would like is if one of the fields is left blank, the query should return all results of the other criteria.
After googling, I found this suggestion :
=Forms!yourform.combobox OR Forms!yourform.combobox Is Null
However when I try add the second part, it keeps complaining about syntax or missing operator.
What am I doing wrong?