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

Header & Footer not exist in SubReport

edited March 2002 in General
Hi!

Report Builder 6.02/Delphi 5.02:

I try to use header and footer bands in SubReport
but find some wrong:
Header and Footer section did not exists in preview!

Then I model my situation and create

Simple main data:

"MainData:"
select 'aaaa', 'bbbb'
union all
select 'aaaa', 'bbbb'

and

"SubRepData:"
SubReport data
select 1,2,3
union all
select 1,2,3

then put subreport component on detail band
and put dbtext: "MainData.DBText1..." and
"SubRepData.DBText1" on subreport band
+ put labels on footer, header, summary and title band
both reports (Main and subreport)
!!!! - Header & Footer not exist in SubReport band !!!!

Is it feature?

With best regards,
Nikolay Bochkarev

Comments

  • edited March 2002

    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 StartNewPage to True.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.