Hide with Query

Djblois

Registered User.
Local time
Today, 06:42
Joined
Jan 26, 2009
Messages
598
I want to create a query so that if a checkbox is checked then it will show all items but if it is unchecked I want to show only items that the field Dep_Time is still blank. How can this be done?
 
I don't think you merely want a query, but rather some VBA code that checks the condition of the checkbox and toggles the recordsource between two queries, one that select * from tablename, and the other select * from tablename where condition is met...
 

Users who are viewing this thread

Back
Top Bottom