Page Numbers Issue

EPMLEPML UK
edited 7:25AM in FastReport 4.0
Hi All,

After all the help I have had from gordk and others, I now have a report that works as expected by the business excpet one small thing... page numbering.

My report calls 'Engine.NewPage;' in my 'MasterData1OnBeforePrint' procedure when the month from the date column in the dataset changes and this works great. However I cannot see a way of resetting the page number and total page number when the new page is called, so that each month's data shows page 1 of 3 for example for january and then page 1 of 4 for february etc.

Can anyone help with this?

Many thanks in advance.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 7:25AM
    first make report 2 pass,(report engine options) you may need to set your own variable in code if system variables
    (page, Page#,totalpages, totalpages#) don't work for you.

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.