group header question
Hi,
I need to know when a group header band is printing again because a group
has been split onto another page.
What I need to do is print something slightly different in the group header
band when the group is being continued on successive pages. I need to be
able to do this when the group[index].newpage property is both true and
false. Dont know if that makes a difference.
I am using Delphi 7 and RP 9.01.
Thanks.
I need to know when a group header band is printing again because a group
has been split onto another page.
What I need to do is print something slightly different in the group header
band when the group is being continued on successive pages. I need to be
able to do this when the group[index].newpage property is both true and
false. Dont know if that makes a difference.
I am using Delphi 7 and RP 9.01.
Thanks.
This discussion has been closed.
Comments
If you set the Group.ResetPageNo to True, you can then use the Report.PageNo
property to find the page number relative to the last group break. Then
inside the GroupHeaderBand.BeforePrint, you can check this value and if it
is greater than one, change the contents of the band dynamically.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com