Using Other Query Wizards


10 Minute Guide to Microsoft Access 2002
By Joe Habraken
Table of Contents
Lesson 17.  Creating a Simple Query

Using Other Query Wizards

Access's different query features are quite powerful; they can do amazingly complicated calculations and comparisons on data from several tables. Queries also can do calculations to summarize data or arrange the query data in a special format called a crosstab. Creating more advanced queries means that your database tables must be joined by the appropriate relationships; otherwise , the query cannot pull the data from multiple tables.

You can create very complex queries from the Query Design view, which you learn about in the next lesson. However, Access also provides some wizards that can be used to create some of the more complex query types. These wizards include the following:

  • Crosstab Query Wizard ?A NAME ="d1e22633">This wizard displays summarized values, such as sums, counts, and averages, from a field. One field is used on the left side of the Query datasheet to cross-reference other field columns in the Query datasheet. For example, Figure 17.3 shows a Crosstab table that displays the different products that a customer has ordered, sorted on the customer's first name.

    Figure 17.3. Crosstab queries allow you to cross-tabulate information between table fields.

  • Find Duplicates Query Wizard ?A NAME="d1e22688">This query is used to compare two tables and find duplicate records.

  • Find Unmatched Query Wizard ?A NAME="d1e22740">This wizard compares two tables and finds all records that don't appear in both tables (based on comparing certain fields).

You can access any of these query wizards from the database window. With the Query icon selected, click the New button on the database window toolbar. The New Query dialog box appears, as shown in Figure 17.4.

Figure 17.4. The other query wizards can be accessed from the New Query dialog box.

Select the wizard that you want to use for your query and click OK. Work with the wizard as it walks you through the steps for creating your new query.


10 Minute Guide to Microsoft Access 2002
10 Minute Guide to Microsoft Access 2002
ISBN: 0789726319
EAN: 2147483647
Year: 2000
Pages: 160
Authors: Joe Habraken © 2008-2017.
If you may any questions please contact us: