- By Curtis Frye
- Introducing Query Types
- Creating a Query Using the Query Wizard
- Editing a Query in Design View
- Using Criteria to Focus Query Results
- Introducing Operators
- Using Queries to Calculate Values
- Creating a Parameter Query
- Finding Duplicate Records
- Finding Unmatched Records
- Writing Query Results to a New Table
- Creating an Update Query
- Creating a Crosstab Query
- Finding the Largest and Smallest Values in a Field by Using a Query
Creating a Crosstab Query
The basic means of storing and presenting data in Access is the table, which is essentially a list of information about a group of “things” (such as customer orders) related to a single primary key value. Another way to present data is in a crosstab query, which relates one value (such as a total or an average) with two other values (such as a customer and a month).
Build a Crosstab Query
Click the Create tab.
Click Query Wizard.
Click Crosstab Query Wizard.
Click the table or query to provide the values for your crosstab query.
Click the field to provide values for the row headings.
Click the field to provide values for the column headings.
Click the field to provide values for the data area (body) of the crosstab query.
Click the summary calculation to be performed on the values in the data area.
Type a name for the query.