Hi from a new member.
It seems that searching for data is one of the main problems people have with Access, and I'm no exception so, here goes.
I've made an unbound form containing multiple fields, including combo boxes, to enter the search strings. A button runs the query that filters the data using the following criteria: -
Like "*" & [Forms]![FrmFlavoursFullSearch].[Form]![CodeSearch] & "*"
I’ve added a similar line each field to search and if I leave a search field blank it still finds all the records, so far so good. Now the problem:-
If one of the search fields in a record is blank it completely misses out that record, even if I wasn't searching that field. Is there a way to include records containing blank fields in the search results?
Many thanks
Stroggy
It seems that searching for data is one of the main problems people have with Access, and I'm no exception so, here goes.
I've made an unbound form containing multiple fields, including combo boxes, to enter the search strings. A button runs the query that filters the data using the following criteria: -
Like "*" & [Forms]![FrmFlavoursFullSearch].[Form]![CodeSearch] & "*"
I’ve added a similar line each field to search and if I leave a search field blank it still finds all the records, so far so good. Now the problem:-
If one of the search fields in a record is blank it completely misses out that record, even if I wasn't searching that field. Is there a way to include records containing blank fields in the search results?
Many thanks
Stroggy