Finding out the current page number
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
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
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com