The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp). SUMMARYYou can add a text box control that prints a sequential number for each record to the detail section of a report. You can reset this number so that a separate set of numbers is printed for each group of records. This article explains how to do this by modifying a report in the sample database Northwind.mdb. MORE INFORMATIONPrinting a Sequential Number for Each Record to the Detail Section of a ReportIf you want to print an incremental counter for each record in a report group, add an unbound text box control to the detail section of the report. To begin the sequence with the number 1, set the ControlSource property to =1, and then set the RunningSum property to Over Group.To print an incremental counter for each record in a report group, follow these steps:
Resetting the NumberYou can also increment the counter number for each group in the report by changing the RunningSum property to Over All. To do this, replace step 2 above with the following step:
Repeat step 3 above. Note that each individual record now prints a unique
sequential number.
Additional query words: reports sequential line
Keywords : kbdta RptOthr |
Last Reviewed: November 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |