How to Use True or False Criteria for Access Checkbox Fields
Question details
The user needs to correctly filter records using Yes/No (Boolean) checkbox fields in a Microsoft Access query without getting unexpected results.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Filtering query results based on a Boolean (Yes/No) field in a Microsoft Access database.
- Observed behavior
- Queries return unexpected or incorrect records because Boolean criteria are entered with quotation marks, forcing Access to treat them as text instead of logical values.
Open your Microsoft Access database and navigate to the query you want to modify in Design View.
Use Proper Boolean Constants for Yes/No Fields
Ensure you are using standard Boolean values without quotation marks so Access recognizes them as logical criteria rather than text strings.
Microsoft Access stores Yes/No fields as numerical Boolean values (-1 for True, 0 for False). Enclosing criteria in quotation marks tells Access to look for a text string, which will fail to match the underlying numerical data.
Open your query in Design View by right-clicking the query in the Navigation Pane and selecting 'Design View'.
Find the column containing your Yes/No (checkbox) field in the query design grid.
In the 'Criteria' row, type True to find checked records or False to find unchecked records. Make sure you do not type quotation marks around these words.
Alternatively, you can type -1 to search for True values, or type 0 to search for False values.
Click the 'Run' button (the red exclamation mark) in the Query Design ribbon to verify that the query now returns the correct records.

Check Query Criteria in SQL View
Reviewing the raw SQL code can help you spot hidden quotation marks or syntax errors causing the query to fail.
Looking for a Lightweight Alternative for Your Daily Office Tasks?
While Microsoft Access is a specialized database management tool, most daily document, spreadsheet, and presentation tasks can be handled seamlessly with WPS Office. It is highly compatible with Microsoft formats, completely free for basic use, and uses minimal system resources.
- 1. Visit the WPS Office Website: Navigate to the official WPS Office website using your web browser.
- 2. Download the Installer: Click the 'Free Download' button to download the correct version for your operating system.
- 3. Install the Software: Run the downloaded installer and follow the on-screen instructions to complete the setup.

Frequently Asked Questions
Why does typing False in my Access query return zero results?
If you type "False" with quotation marks, Access looks for a text string containing the word 'False' instead of recognizing it as a logical Boolean value. Because Yes/No fields store data as -1 or 0, the text search finds no matches. Always remove the quotation marks.
What numerical values correspond to True and False in Microsoft Access?
In Microsoft Access databases, a selected or checked (True) Yes/No field stores the numerical value -1, while an unselected or unchecked (False) field stores the numerical value 0.
Can an Access Yes/No checkbox field be completely empty?
Standard Yes/No fields only hold True (-1) or False (0). However, if the field's properties are configured to allow it to function as a three-state checkbox, it can also contain a Null value to represent an undetermined or missing state.




