Yes/No Query to include some or all results

Waster

New member
Local time
Today, 16:39
Joined
Jul 4, 2013
Messages
1
I'm having a mental block on this one.

I have a table with a yes/no field. It's linked to a form with a yes/no box, but the outcome I want is that if the form box is unchecked, the query returns all the "yes" records - which is trivial; however I want to return ALL the records if the form box is checked.

I've tried searching for this, but as you can see it's a bit tricky to put into words...:banghead:
 
Add this to the end of your query

Code:
OR Forms!formname.chckboxname

(Comparison to True is not essential because the value is boolean)
 

Users who are viewing this thread

Back
Top Bottom