WinVask -  Faktura

How To: Add Page Number Counter

How To: Add Page Number Counter

Previous topic Next topic  

How To: Add Page Number Counter

Previous topic Next topic  

 

The majority of reports that you create will require a page number counter printed somewhere (page top or bottom, doesn't matter) to help manage stacks of report pages (especially if they get dropped onto the floor!). Here is how to do it:

 

ð        Add the report band that will contain the Page Number information. Because most printed books print page numbers in the bottom right corner of the printed page it is suggested to add a PAGE FOOTER report band to the report.
ð        Add a new frame onto the report band referenced in the previous step
ð        Double left click the newly added frame to display the properties for that frame and type this information into it:

 

='Page '& Page_Counter &' of '& Total_Of_Pages

 

ð        Optionally remove the borders from the newly added frame (top/left/bottom/right)

 

Your report page will now print the text Page n of nn onto the bottom right of the report page (n representing the current page number, as grabbed by the PAGE COUNTER variable; the nn represents the total number of pages in the report, as grabbed by the TOTAL_OF_PAGES variable)