How to reset Page No.

edited 12:58PM in FastReport 3.0
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 12:58PM
    Count the page number in the script. Do not use standard 'Page' variable.
  • edited 12:58PM
    Thank you for your reply .
    But how to get the page status ?
  • edited 12:58PM
    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 12:58PM
    ????

    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.