How do I set criteria to show only Yes cases using a Y/N field?

T

TOYAPFYA

When using a Yes/No field, how would you set the criteria so that a query or
report would only pull all "Yes" or all "No" entries?
 
F

fredg

When using a Yes/No field, how would you set the criteria so that a query or
report would only pull all "Yes" or all "No" entries?

To show Yes records, as criteria on the Yes/No column, write:
-1

To show No records, as criteria write:
0
 
J

John W. Vinson

When using a Yes/No field, how would you set the criteria so that a query or
report would only pull all "Yes" or all "No" entries?

True or -1 for yes entries
False or 0 for no entries
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access Dcount (multiple criteria) 3
Count Yes/No with Criteria 2
Query Criteria issue 5
query yes/no field 6
Countif on qry 6
Using IIF In Query Criteria 4
Append Data Type Text Y/N to Data Type Y/N in Query HELP! 1
no criteria 3

Top