What is the best way to print a 'Continue' label heading on a group header on pages 2 and up and the Reprint group header on subsequent pages is checked?
I would suggest placing the "continue" label in the GroupHeader with its Visible property set to False. Then inside the Band.BeforePrint event, toggle the visibility based on the Report.AbsolutePageNo value.
If you would like to hide this label for the last page, you will need to use a TwoPass report and re-hide the label when AbsolutePageNo = AbsolutePageCount;
Comments
I would suggest placing the "continue" label in the GroupHeader with its
Visible property set to False. Then inside the Band.BeforePrint event,
toggle the visibility based on the Report.AbsolutePageNo value.
If you would like to hide this label for the last page, you will need to
use a TwoPass report and re-hide the label when AbsolutePageNo =
AbsolutePageCount;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Sorry, I misspoke about how to determine whether the "continue" label is
visible. Use the Group.FirstPage property instead of the PageNo.
lblContinued.Visible := not(Group.FirstPage);
See the TppGroup.FirstPage topic in the RB help for more information.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Temoc Navarro