ComponentOne Reports for WinForms Designer Edition: ComponentOne Reports for WinForms > Reports for WinForms Task-Based Help > Reporting Task-Based Help > Modifying Subreports > Adding Page Headers to Subreports

Adding Page Headers to Subreports

C1Report ignores Page Header and Page Footer sections in subreports. Instead, it uses the Page Header and Page Footer sections defined in the main report. This is the same behavior as in Microsoft Access.

In many cases, however, you would like your subreports to include header information across page breaks. To do this, place the headers in a Group Header section and set the section's Repeat property to True. If your subreport doesn't have any groups, add an empty one.

* Sample Report Available

For the complete report, see report "14: Page Headers in Subreports" in the CommonTasks.xml report definition file, which is available for download from the CommonTasks sample on the ComponentOne HelpCentral Sample page.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.