Touring a Query

To locate and retrieve information in a table (or in multiple tables), you create a query. A query is simply a question that you ask a database to help you locate specific information. For example, if you want to know which customers placed orders in the last six months, you can create a query to examine the contents of the Order Date field and to find all the records in which the purchase date is less than six months ago. Access retrieves the data that meets the specifications in your query and displays that data in table format. You can sort that information or retrieve just a subset of its contents with still more specific criteria, so that you can focus on exactly the information you need ”no more or less.

Open and Run a Query

graphics/1_icon.jpg

In the Database window, click Queries on the Objects bar.

graphics/2_icon.jpg

Click the query you want to run.

graphics/3_icon.jpg Click the Open button.

The query opens in a table called a dynaset. The dynaset displays the records that meet the specifications set forth in the query.

graphics/02inf17.jpg

View a Query in Design View

graphics/1_icon.jpg

In the Database window, click Queries on the Objects bar.

graphics/2_icon.jpg

Click the query you want to run.

graphics/3_icon.jpg Click the Design button.

In Design view, you can see the criteria that specify what records to include in the dynaset.

graphics/02inf18.jpg



Show Me Microsoft Office Access 2003
Show Me Microsoft Office Access 2003
ISBN: 0789730049
EAN: 2147483647
Year: 2002
Pages: 318

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net