Take Control: Q&A Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Query Criteria

Suppose we only wanted to see the movies that were released in 2005. Take the query back to Design View. Let’s add Criteria to the fourth row in the Movie column. Criteria are words, phrases or numbers that filter the records in the table.

 

Try it: Edit the Query Criteria

Select the Year column

Click on Criteria

Type: “2005”

Run your query.

 

What do you see? Your query should find 32 movies released in 2005 in your database. Please go back to the Design View and test the query with 2004, or 2003 in the criteria.

 

Boolean operators  mean And, Or. Try this:

Select the Field for Year.

Add a Criteria: "2005"

Type in or: "2004"

 

When you run the query, do you get all of the movies in the year 2004 OR 2005?

 

View -> Design -> Query Design
 

 

  Microsoft Access 2007 Exam 77-605 Topic: 4.  Creating and modifying queries 

  4.2. Modify queries   4.2.2.   Add criteria to queries