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

SubReport headers in main report

edited December 2002 in Subreports
Hi - I have a report with just two subreports.

Each subreport has a header band just detailing the name of the report, date
and pageset.

On printing the report I do not see these details - it is as if the header
band wasn't in the report - it just doesn't print out. Or do I have to
intercept the report before the child report fires up?

Using Delphi 6 Enterprise with RB 7 (for 6).

Thanks for a helping hand! cheers - David

Comments

  • edited December 2002
    Strike that last nonsense!

    Setting Visible=True seems to make such a lot of difference . It
    appears that adding a sub report sets the header band property "Visible" to
    False? Is that really so?

    cheers - David

  • edited December 2002
    ------------------------------------------------------------------
    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.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited December 2002
    Wow! While I was typing the follow up Jim was typing the answer! That's
    neat :)))

    I seem to have solved it with the solution outlined in the (solved) message.
    Setting Visible to True!

    Thanks Jim - cheers, David

  • edited December 2002
    > While I was typing the follow up Jim was typing the answer! That's > neat
    :)))

    DM/RB is good at muti-processing :-).

    Merry Christmas

    Ed Dressel
This discussion has been closed.