| Click on Query and Create in Design View, Figure 1. You will see a new screen Show Table. | ![]() Figure 1 |
| Click on your database and see it appear in a window near the top of the page, Figure 2. | ![]() Figure 2 |
| Close the Show Table window and click on the top line first row, see a button with a down arrow magically appear, Figure 3. Now you can go through this output table and select which fields will be seen when you do your query. Here's how: you click on a cell in the top row, and arrow appears, you click on the arrow and a pull down menu appears. You then select which field you want to see in this column of the table. | ![]() Figure 3 |
When you have finished all the fields you want to see in the output, you are ready to state your selection
criterion. I chose Grantham in the City column so that only people who live in Grantham will be seen. Figure 4.
This is an exclusive selection rule. Now do the query by clicking on the Button. |
![]() Figure 4 |
![]() |
The results of Figure 4 - only people living in Grantham are listed. |
| If you put criterion on the same line, this is an AND requirement and both conditions must be made. If you put the criterion on separate lines, they are OR's - either one of the two criterion must be satisfied. In Figure 5 see a query for all people who live in Ohio or PA. |
![]() Figure 5 - An OR query |
This page is Copyright 2003 by J. Barry DeRoos. All Rights Reserved.
This page may be distributed and used freely, provided that the
copyright notices remain intact.
Last Modified: Jan 12, 2003.