Reports for WPF | ComponentOne
Task Based Help / Modifying Subreport / Showing Subreport's header
In This Topic
    Showing Subreport's header
    In This Topic

    C1.C1Report.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 may want 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 C1.C1Report.Section.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.

    See Also