Wednesday, August 15, 2018

Apply criteria to a query

Apply criteria to a query

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.

No comments:

Post a Comment