ScubaStevo
Programmer
I have a query that searches on all fields from a table. I use the Like command to search on each field from a number of textboxes in a form like this:
Like ("*" & [Forms]![QuoteSearch]![CustomerNumber] & "*")
This works fine for all records except for those that are NULL. What is the best approach to rectify this situation? Should I include NULL in each search or make the table have a default value for each field so each field wont be NULL??
Like ("*" & [Forms]![QuoteSearch]![CustomerNumber] & "*")
This works fine for all records except for those that are NULL. What is the best approach to rectify this situation? Should I include NULL in each search or make the table have a default value for each field so each field wont be NULL??