Hide group header over group footer
Group header is on each page where the detail is, it is OK. BUT, I not want
print group header, if on the page is only group footer. How can I do it?
Thanks
Petr Vobornik
print group header, if on the page is only group footer. How can I do it?
Thanks
Petr Vobornik
This discussion has been closed.
Comments
Unfortunately there is no option to print the group footer on every page.
You can use the page footer band or create a virtual page summary using the
method in the example below.
If you do not want the group header to print on every page, you can set the
group.ReprintOnSubsequentPages property to False.
http://www.digital-metaphors.com/tips/PageSummary.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
header. Group header I want print every times, when the some part of detail
(on detail band is only one subreport) is on the page. But if on the page is
only group footer, group header must be hidden. I can't use page footer
because it is on every page (I need it only one time on the end of every
group) and page summary is bad, because it isn't after every group. I can't
set Group.ReprintOnSubsequentPages to false because I need this header over
every part of the detail. What a pity that child subreports not support
header, it's exactly what I want
Is there some possibility how can I detect in the Delphi code (in
GroupHeader.BeforePrint), if any part of the detail band is on actual page?
I can set GroupHeader.Visible to false if not.
Thanks
Petr Vobornik
Thanks for the clairification in your issue. It looks like you want to set
the visibility of the group header to false if it orphaned on a page break.
Take a look at the following example and see if that gets you on the right
track.
http://www.digital-metaphors.com/tips/HideOrphanGroupHeader.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com