Header & Footer not exist in SubReport
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com