Others

How to Find Records with Either Checkbox Selected in MS Access

Elise WilliamsElise Williams Nov 4, 2026 868 views

Question details

The user needs to filter a Microsoft Access query to return records where at least one of two Yes/No checkboxes is selected, rather than requiring both to be checked.

How to Find Records with Either Checkbox Selected in MS Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Designing an Access database query to filter records based on multiple Yes/No (checkbox) fields.
Observed behavior
Placing the criteria for two Yes/No fields in the same row defaults to an AND condition, which requires both checkboxes to be selected to return a record.
Before you start

Open your Microsoft Access database in Design View and ensure your target table has at least two Yes/No fields ready for querying.

Solution 1Recommended

Use Separate Criteria Rows to Create an OR Condition

To return records where either checkbox is selected, you must place the criteria on separate rows in the query design grid to create an OR condition.

In Microsoft Access, placing criteria on the same row tells the database that all conditions must be met (an AND condition). By dropping one of the criteria to the row below it (the 'Or' row), Access will return records if either condition is true.

1
Open Query Design

Navigate to the 'Create' tab and click 'Query Design'. Add the table containing your Yes/No fields to the workspace.

2
Add the Checkbox Fields

Double-click the two Yes/No fields (e.g., 'Dead' and 'Left organization') to add them to the query grid.

3
Enter the First Criterion

In the 'Criteria' row under the first Yes/No field, type '-1' (which represents True or Yes in Access).

4
Enter the Second Criterion on the OR Row

Move to the second Yes/No field. Instead of using the 'Criteria' row, click into the 'Or' row (directly below the Criteria row) and type '-1'.

5
Run the Query

Click the 'Run' button in the ribbon. The query will now display records where either of the checkboxes is selected.

Use Separate Criteria Rows to Create an OR Condition
Database Design Tip: Storing actual date fields (like departure or death dates) and querying with 'Is Not Null' often provides a more effective and informative database design than using standalone checkboxes.
Free Microsoft Office alternative

Looking for a Free Office Suite? Try WPS Office

While Microsoft Access is a specialized tool for database management, you can handle extensive data organization, filtering, and analysis using WPS Spreadsheet. WPS Office is a lightweight, completely free alternative that perfectly supports Microsoft Word, Excel, and PowerPoint formats.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded file and follow the simple on-screen instructions to install the software.
  3. 3. Manage Your Data Easily: Launch WPS Spreadsheet to start organizing, filtering, and analyzing your data with ease.
Seamless compatibility with Microsoft Office formats like XLSX, DOCX, and PPTX.Powerful data analysis, filtering, and charting tools in WPS Spreadsheet.Lightweight application that runs smoothly on Windows, Mac, and Linux systems.Familiar, easy-to-use interface with no steep learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Access query require both checkboxes to be selected?

If you place the criteria (like -1 or True) for multiple fields on the exact same 'Criteria' row in the query design grid, Access processes it as an AND condition. This means every condition on that row must be met for a record to be displayed.

What does -1 mean in a Microsoft Access query?

In Microsoft Access, Yes/No fields store boolean values as numbers. 'True', 'Yes', or 'On' are stored as -1 in the database, while 'False', 'No', or 'Off' are stored as 0. Entering -1 in the criteria row searches for checked boxes.

Can I combine AND and OR conditions in the same query?

Yes. You can place conditions that must both be true on the same row, and alternative conditions on separate rows. However, you must be careful to repeat the shared AND conditions on every OR row if they need to apply to all scenarios.