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

Subsequent pages.

edited May 2013 in General
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?

Temoc

Comments

  • edited May 2013
    Hi Temoc,

    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;

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2013
    Hi Temoc,

    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.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2013
    Thank you for your help

    Temoc Navarro

This discussion has been closed.