ACC2000: How to Create a Crosstab Query with Multiple Value Fields (209143)
The information in this article applies to:
This article was previously published under Q209143 For a Microsoft Access 2002 version of this article, see 304458.
SUMMARYNovice: Requires knowledge of the user interface on single-user computers.
In a Microsoft Access crosstab query, you can specify only one field
or calculation as the value. Often, you may want to show more than
one value in the query.
For example, the following example shows two columns of information per
company, a count of the number of orders, and the order totals for each
year:
Company Name 1998 Orders 1998 Total 1999 Orders 1999 Total
--------------------------------------------------------------
ABC Company 12 $855.00 15 $1010.25
XYZ Company 1017 $22045.57 1050 $25345.29
This type of query is sometimes called a Multiple Value Field query.
NOTE: You can see a demonstration of the technique that is used in this article in the sample file Qrysmp00.exe. For information about how to obtain this sample file, please see the following article in the Microsoft
Knowledge Base:
207626 ACC2000: Access 2000 Sample Queries Available in Download Center
REFERENCESFor more information about crosstab queries, click Microsoft Access Help on the
Help menu, type crosstab queries in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 7/14/2004 |
---|
Keywords: | kbhowto KB209143 |
---|
|