Queries - Creating a simple query

To create a query, open the database, in this case the database software2000 was opened.  Select Queries in the Objects panel.   Click on Create query in Design View.  (You could use the wizard but in this case it is easier to use Design View.)

q01.jpg (48436 bytes)

A list of all the tables in the database opens.  In this case only one table is found in the database.  Click on Add.

q02.jpg (26446 bytes)

One table is added to the dynaset.  Queries will be made from this table.

q03.jpg (48580 bytes)

To add fields to the query, double-click on the field.  They are added in the order in which they are clicked.  Records are displayed in the order in which they were entered.  Sorts are applied in the order in which they are found in the design grid.   

q04.jpg (50900 bytes)

When records are displayed they are usually in ascending alphabetical order but it can be changed by clicking, as shown below.

q05.jpg (50660 bytes)

The design grid explained:

There are many types of criteria, see the list taken from Access itself.


This work may be freely copied for non-commercial use only. Copyright © Pam Miller