ACC2000: How to Create a Top 10 ReportID: Q231802
|
This article shows you how to create a Top 10 report, which is a report that lists the first 10 records, based on the sort order of a report.
You can create a Top 10 report by using a top values query as the record source of the report. A top values query enables you to specify a specific number or percentage of records to return.
Report: Top 10 Report
---------------------------------------
RecordSource: Top Ten Sales By Category
Text Box
--------------------
ControlName: Counter
ControlSource: =1
RunningSum: Over All
Label: Rank
Text Box
---------------------------
Name: ProductSales
ControlSource: ProductSales
Text Box
---------------------------
Name: CategoryName
ControlSource: CategoryName
Text Box
--------------------------
Name: ProductName
ControlSource: ProductName
Field/Expression: ProductSales
Sort Order: Descending
For more information about the TopValues property, click Microsoft Access Help on the
Help menu, type top values in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
For more information about sorting data in reports, click Microsoft Access Help on the
Help menu, type sort records in a report in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
Additional query words: ten
Keywords : kbdta RptOthr
Version : WINDOWS:2000
Platform : WINDOWS
Issue type :
Last Reviewed: July 22, 1999