Different Group headers for a different pages..
Hi, I have read old posts but I haven't find an answer but I think
this is my defect ^^
I have a report with a group with own header and footer.
When a group is more than a page I would print a different header from
the header printed after the break.
I would print just some component of the group header but I can't
understand when the header has printed the first time (after the
break) and when it has printed beacuse there is a new page..
Thank you
Dario
this is my defect ^^
I have a report with a group with own header and footer.
When a group is more than a page I would print a different header from
the header printed after the break.
I would print just some component of the group header but I can't
understand when the header has printed the first time (after the
break) and when it has printed beacuse there is a new page..
Thank you
Dario
This discussion has been closed.
Comments
Try keeping track of the Group.BreakValue each time the GroupHeaderBand
prints and compare it to the previous value. If the value is the same, that
means you are still in the same group, different page and can alter the
output of the band.
For instance, inside the GroupHeaderBand.BeforePrint event...
if FBreakValue = ppGroup1.BreakValue then
ppLabel1.Caption := 'Changed'
else
begin
ppLabel1.Caption := 'Original';
FBreakValue := ppGroup1.BreakValue;
end;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
On Fri, 4 Sep 2009 06:51:13 -0600, "Nico Cizik \(Digital Metaphors\)"