Sunday, August 11, 2002

From The Edge: Understanding Absolute Page Count and Page Number
Section: Report Designer
Chapter: Running R:BASE Your Way!
Platform: R:BASE 7.0 for Windows
Build: 1.855xRT03 and Higher


The Absolute Page Count is the total number of pages in the report
at the time the page was generated. If the engine is generating a
one-pass report, then this property will be updated by the screen
device as additional pages of the report are generated.

The Absolute Page Count always contains the total number of pages
for the report as a whole. This differs from the Page Count property,
which contains a relative page count based on the last break. If no
breaks have been created, or no breaks have the Reset Page No
property set to True, then the Page Count property will contain the
same value as Absolute Page Count.

When a break has the Reset Page No property set to True, the
Page Count property contains the number of pages relative to
the last break. This is useful when you want to number reports in
subsets, such as printing invoices for ten different customers. If
you created a break based on Customer ID (CustID) and set the
Reset Page No property to True, the Page Count property would
contain the total number of pages for each customer.

If no breaks exist in report, or no breaks have Reset Page No set
to True, the Page Count property contains the total number of
pages for the report (this is the same value as the Absolute Page
Count property.)

The Absolute Page Number is the current page which is being
printed or previewed.

The Absolute Page Number always contains the current page
number for the report as a whole. This differs from the Page Number
property, which contains a relative page number based on the last
break. If no breaks have been created, or no breaks have the "Reset
Page Number" property set to True, then the "Page No" property will
contain the same value as Absolute Page Number.

You can easily add subset page numbering to any of your reports
by creating a "System Variable" component with a type of "Page
Set Desc". This provides page numbering in the style: '1 of 4 thru
4 of 4', then '1 of 2 thru 2 of 2', etc.

PDF version of this technical document is also available at:

From The Edge: http://www.razzak.com/fte (Reports and Labels)
(Powered by R:Tango)

Enjoy and make sure to have fun!

Very Best Regards,

Razzak.


Reply via email to