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

Footer and pagecount

edited June 2002 in General
Hello, I want to play with the visible property of a footer band depending
on which
page it is on.
In it's BeforePrint the PageCount of the report is always set to the current
page number, why is that so?
I tried with 1 and 2 passes and cachepages, is there a way to get the real
page count
before the BeforePrints occurs, so that doing someting like setting the
footer invisible
for a certain page number is possible?

Comments

  • edited June 2002
    There is a Footerband PrintOnLastPage and PrintOnFirstPage boolean
    properties in case this is what you are looking for. If not, you need to
    check AbsolutePageCount and AbsolutePageNo on the report. The
    AbsolutePageCount will only be accurate after the first pass has completed.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited June 2002
    Great tks, using Absolute with SecondPass works fine.


This discussion has been closed.