Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Use criteria to get the most specific information from a query. (Get the basics from, introduction to queries.)

In the example below, criteria added to the Country/Region field returned a specific list of results.

OR criteria use in designer and result

  1. Open your query in Design view.

  2. In the query design grid, click the Criteria row of the field where you want to add the criterion.

  3. Add the criteria and press ENTER.

    You can use several types of criteria like text, dates (read about applying criteria to text and using dates as criteria) and functions.

  4. Click Run to see the results in Datasheet view.

When you need to add multiple types of criteria, you can use the OR row and also add criteria rows. Take a look at some examples of query criteria to help you get started in creating your own query criteria. Since criteria are a kind of expression, it might be more helpful to get more information about expressions.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!