How to create a running totals query in Microsoft Access (290136)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q290136 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
For a Microsoft Access 2000 version of this article, see 208714.
For a Microsoft Access 97 version of this article, see 138911.
SUMMARY
This article demonstrates two methods that you can use to create a running
totals query. A running totals query is a query in which the total for each
record is a summation of that record and any previous records. This type of
query is useful for displaying cumulative totals over a group of records
(or over a period of time) in a graph or report.
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
REFERENCES
For more information about totals queries, click Microsoft Access Help on the Help menu, type calculations in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
Modification Type: | Minor | Last Reviewed: | 6/9/2004 |
---|
Keywords: | kbhowto KB290136 |
---|
|