ACC2000: How to Repeat Subreport Header at Top of Page (231808)
The information in this article applies to:
This article was previously published under Q231808 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
This article describes how to repeat a subreport's header when the subreport spans multiple pages. NOTE: This method works best for one subreport. Attempting to repeat
the subreport header for multiple subreports requires a set of controls in the page header and a flag for each subreport. Then the code must check each flag and hide or show the appropriate sets of controls. This code is not easy to maintain.
NOTE: This article explains a technique demonstrated in the sample
file RptSmp00.exe. For information about how to obtain this sample file, please see the following article in the Microsoft Knowledge Base:
231851 ACC2000: Microsoft Access Sample Reports Available in Download Center
REFERENCESFor more information about events during printing, click Microsoft Visual Basic Help on the
Help menu, type Print Events in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
For more information about report OnFormat and OnPrint properties, click Microsoft Visual Basic Help on the
Help menu, type OnFormat and/or OnPrint in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbusage KB231808 |
---|
|