Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: How to Repeat Group Name at Top of New Column or Page


View products that this article applies to.

Summary

You can use the RepeatSection property to specify whether a group header is repeated on the next page or column when a group spans more than one page or column.

NOTE: This article explains a technique demonstrated in the sample file, RptSmp00.mdb. For information about how to obtain this sample file, please see the following article in the Microsoft Knowledge Base:
231851 ACC2000: Microsoft Access 2000 Sample Reports Available in Download Center

↑ Back to the top


More information

In reports, group header information is printed once per group even if the group data spans more than one page. In reports, a common layout is to place the grouping value in the group header along with the column labels. However, because this data is not repeated when a group spans more than one page, the column header labels are not repeated on the subsequent page(s).

The following steps illustrate how to use the RepeatSection property to print the group header on another page or column:
  1. In the Design view of a report, if it is not displayed, display the property sheet for the group header section that you want to repeat.
  2. Set the RepeatSection property of the group header section to Yes.

↑ Back to the top


References

For more information about printing group headers on subsequent pages, click Microsoft Access Help on the Help menu, type RepeatSection in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

For an example of this feature, refer to the Northwind database in the Samples folder. Open the Employee Sales By Country report. Note that GroupHeader2 has the RepeatSection property set to Yes.

↑ Back to the top


Keywords: KB208732, kbusage, kbhowto

↑ Back to the top

Article Info
Article ID : 208732
Revision : 2
Created on : 7/15/2004
Published on : 7/15/2004
Exists online : False
Views : 318