How to reset Page No.

Hi !

It's there any way to reset the Page No. when the Header Group condition is
changed and start a new page.

Thank you

Comments

  • edited 8:37PM
    Count the page number in the script. Do not use standard 'Page' variable.
  • edited 8:37PM
    Thank you for your reply .
    But how to get the page status ?
  • edited 8:37PM
    Hy Alex,

    how can i do this programming and resetting of a pageno-variable.
    Is there an exanple?

    Best regards
    Bernd
  • dschuchdschuch Dresden,Germany
    edited 8:37PM
    ????

    There is an event "OnBefortPrint" @ PageHeader / Footer. so you can count Before PageHeader is print and get the correct Page#

    Declare a variable "myPage"
    And in OnBeforePrint do

    myPage:=myPage+1;

    Daniel

Leave a Comment