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

Hwo to use different header for next page

edited September 2008 in Subreports
I have group header/footer and master/detail report.

On the first page of each group I want a particular header, say header with
3 lines and 5 fields. On the next page I want to a different header, say 1
line and 5 fields.

Can there be different headers for a group?

Comments

  • edited September 2008
    Hi Bob,

    This can be done in a number of ways.

    1. You can place multiple regions or subreports inside the header band
    (each containing different information and design) and toggle their
    visibility based on which page you are displaying. Use the Band.BeforePrint
    event to set the Visible property.

    2. You can place a single subreport in the header band and dynamically load
    a template into that subreport based on which page you are displaying.
    There is an example of dynamically loading subreports as headers located in
    the \RBuilder\Demos\3. EndUser\5. Dynamic Subreport Loading\.. directory.

    --
    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.