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

Header on SubReport

edited February 2005 in Subreports
Hi Friends;

I'm using Delphi 6 and RB 7.

I'm merging 2 TppReports as pbChilds into only one, using subreports and
SetReportProperty.

These 2 subreports has TppHeaderBand, but when the're merged, the Header
don't appears.

How I can get around this? Using TppGroup is the best Choice?

If I create a TppGroup and put the a subreport inside it, how I can 'copy'
the TppHeaderBand to the TppGroupHeaderBand?

Thx in advance,


Leonardo

Comments

  • edited February 2005

    ------------------------------------------------------------------
    Tech Tip: Subreport header/footer bands do not print for
    Child type subreports.
    ------------------------------------------------------------------

    For a subreport set to pbChild, the header/footer are not supported.
    A child type subreport prints on its parent's page space and
    therefore behaves more like a memo.

    Options:

    1. Use Title/Summary band.

    2. Use GroupHeader/GroupFooter. If you need to repeat the header
    when a page breaks then then you can create a group and
    set Group.ReprintOnSubsequentPage to True.


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