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

Finding out the current page number

edited May 2005 in General
Hi there,

I have a Report with a FooterBand that contains a number of elements (labels
and images). Some of this elements must be printed out in every page, while
others must be visible only in the last page.

Is there a way to find out the current running page so I can play with the
visibility of the elements in the FooterBand's BeforePrint event?

Thanks in advance,

-Benton

Comments

  • edited May 2005
    Hi Benton,

    You can use the Report.AbsolutePageNo property to find the current page. If
    you set your report to be a two pass report, you can also determine the
    AbsolutePageCount as the report is generating after the first pass.

    --
    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.