G
Guest
I've built a search form with about 15 controls, and I want to build a query
that retrieves criteria from the form. However, I don't want users to be
required to select/enter a value for every control, just the ones they want
to limit. When they leave controls blank, I don't want to lose all the
records in the resultant query, NOR do I want to add an "Is Null" statement
in the OR section of the field because then the query will return all records.
What I need is something that will retrieve criteria values from the form if
a user selects/enters them, but otherwise treats the field as if no criteria
had been applied.
Is that possible?
that retrieves criteria from the form. However, I don't want users to be
required to select/enter a value for every control, just the ones they want
to limit. When they leave controls blank, I don't want to lose all the
records in the resultant query, NOR do I want to add an "Is Null" statement
in the OR section of the field because then the query will return all records.
What I need is something that will retrieve criteria values from the form if
a user selects/enters them, but otherwise treats the field as if no criteria
had been applied.
Is that possible?