ACC2002: How to Repeat Subreport Header at the Top of a Page (299019)
The information in this article applies to:
This article was previously published under Q299019 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 2000 version of this article, see 231808.
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.
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 or onprint in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbdta kbhowto kbusage KB299019 |
---|
|