Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

PageHeader and footer from mainreport also on section style subreports

edited October 2009 in General
I have placed a subreport in the Summary band of the main report
I want to print this subreport with the same header and footer as the main
report.

How do i do this?

greetings
Bas

Comments

  • edited October 2009
    Hi Bas,

    Note that Child style subreports do not support page headers or footers. If
    you are using a Child subreport, you will need to use the Title/Summary
    bands or group headers/footers. Section style subreports do support page
    header and footers however they are designed to take their own page
    (section) of the report.

    One option is to use the template technique similar to the example located
    in the \Demos\3. EndUser\5. Dynamic Subreport Loading\... directory. This
    example essentially saves the header and footer information in a separate
    template and loads those templates into subreports when the report is
    loaded.

    Another option would be to create all the components for the header and
    footer in code and call those routines for the subreport in the summary as
    well as the main report.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.