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

group header question

edited May 2005 in General
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.

Comments

  • edited May 2005
    Hi Shane,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.