This is the situation:
I’m attempting to build a query with criteria based on a form. A particular form field can be empty or have a specific value. If the form field is empty, I need to return all records. If the form field is not empty, I need to return only the records that match. However, there are Null values in this field in the database, and I don’t want them returned when the field is not empty but I do want them returned when the form field is empty.
I’ve been attempting to use “[FormField] Or Like [FormField] Is Null” which almost works but when the form field is not null, I get all the null records too.
Many of my attempts thus far have led either to the Null field records not being returned ever or the "This expression is typed wrong or too complex" error.
What criteria would get these results?
Thank you