B
brea
Guest
I need to let users search for information by providing them with a form with many combo or text boxes on it. Then, I want them to be able to push a button that will use the user specified info as criteria for a query. The catch is that I don't want the user to have to enter data in EVERY box. That is, if they leave the box blank, the query will not have any criteria for that field and will search everything. I have tried many different ways of setting the criteria, such as
Like [forms]![formname]![controlname]OR [forms]![formname]![controlname]ISNULL but then every time I would run the query, additional criteria would be added to my query! I am totally stumped! I would really appreciate any help. Thanks!
Like [forms]![formname]![controlname]OR [forms]![formname]![controlname]ISNULL but then every time I would run the query, additional criteria would be added to my query! I am totally stumped! I would really appreciate any help. Thanks!