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

Print in Header section - But first Page Only

edited January 2004 in General
I have a header section that prints a group of labels with titles and column
headers. It also includes a legend for a table that occurs on page one -
but the legend of course prints on all the pages of the reports. I have a
request to make it print on page one only but dont know how to do this.
The legend is made up of a coloured TppShape and several TppLabels. The
rest of the header (all TppLabels) need to print every page.

Amb

Comments

  • edited January 2004
    Hello,

    I would recommend placing the entire legend inside a TppRegion to make this
    process easier. Then in the HeaderBand.BeforePrint event, check the
    Report.PageNo... based on this number, toggle the visibility of the region.

    if Report.PageNo > 1 then
    myRegion.Visible := False;

    --
    Best Regards,

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