I have generated a search form that calls a query to filter only values in a field that are similar (LIKE) to the field entered into a textbox/combobox.
In the criteria for any given field I have used:
The default value of the Textbox is "". But when I do not enter any search string the query filters the entries with Null entry in the selected field.
How could I include Null or Empty entries. Or in other words if I do not enter any thing in the search box how do I generate an unfiltered Query for that field.
I know I could just create a separate query for when TextboxName = "" but can I do this in a single query?
James
In the criteria for any given field I have used:
Code:
Like [Forms]![FormName].[TextboxName] & "*"
The default value of the Textbox is "". But when I do not enter any search string the query filters the entries with Null entry in the selected field.
How could I include Null or Empty entries. Or in other words if I do not enter any thing in the search box how do I generate an unfiltered Query for that field.
I know I could just create a separate query for when TextboxName = "" but can I do this in a single query?
James