Understand Criteria and Or Rows in Microsoft Access Queries
Question details
Understand how Criteria and Or rows combine conditions in Microsoft Access query design.

- 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.
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.
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.
In Access, open an existing query in Design View or select Create > Query Design and add the relevant table or query.
Add the fields you want to filter to the design grid. For example, add City and Status.
In the Criteria row, enter "London" under City and "Active" under Status. Access combines these conditions with AND.
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.
Select View > SQL View to inspect the generated logic, then select Run to see the matching records.

Place a DateAdd Criterion in the Correct Query Row
Use this approach when a date expression appears in an Or row and you need to understand which records it affects.
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.

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.




