Office Settings & Configuration

Understand Criteria and Or Rows in Microsoft Access Queries

Ayan MasoodAyan Masood Nov 22, 2026 869 views

Question details

Understand how Criteria and Or rows combine conditions in Microsoft Access query design.

Understand Criteria and Or Rows in Microsoft Access Queries
Product
Microsoft Access
Device & OS
not provided
Scenario
A user is building a query with conditions on one or more fields and wants to understand how the rows affect Boolean logic.
Observed behavior
Conditions on the same design grid row are combined with AND; conditions on different Criteria or Or rows are combined with OR.
Before you start

Open the Access database and identify the fields and conditions you want to use. Decide which conditions must all be true and which should be alternatives.

Solution 1Recommended

Combine AND and OR Conditions in the Access Query Grid

Use the same row for conditions that must both be true and separate rows for alternatives.

1
Open query design

In Access, open an existing query in Design View or select Create > Query Design and add the relevant table or query.

2
Add the fields

Add the fields you want to filter to the design grid. For example, add City and Status.

3
Enter the first combination

In the Criteria row, enter "London" under City and "Active" under Status. Access combines these conditions with AND.

4
Add an alternative

In the Or row, enter "Paris" under City and repeat "Active" under Status. The query now selects active records in London OR active records in Paris.

5
Check and run the query

Select View > SQL View to inspect the generated logic, then select Run to see the matching records.

Combine AND and OR Conditions in the Access Query Grid
Repeat shared conditions: A condition on only one row does not automatically apply to the other rows. Repeat it on every alternative row where it must apply.
Free Microsoft Office alternative

Work With Office Documents and Spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Its format compatibility helps you move existing documents and spreadsheets into your workflow. It does not replace Microsoft Access query design or fix Access-specific database behavior.

Review and filter spreadsheet data in WPS Spreadsheet.Open and edit common Microsoft Office formats, including DOCX, XLSX, and PPTX.Use a familiar interface for documents, spreadsheets, and presentations.Get started with a free, lightweight office suite.
QA img-9

Frequently Asked Questions

What does the Or row do in Access query design?

The Or row lets you enter an alternative set of conditions. Access combines conditions on that row with AND and combines the row with the Criteria row using OR.

How do I require the same condition for every alternative?

In Design View, repeat that condition in its field column on the Criteria row and on each Or row where it must apply.

Why is my DateAdd expression in an Or row?

Its position makes it part of that row's alternative, not automatically a condition for every result. Check the other conditions on the same row and use View > SQL View to inspect the grouping.

Can every Access SQL query be shown in the design grid?

No. The grid represents many queries, but some SQL queries, such as UNION queries, cannot be represented there. Use SQL View to work with those queries.