[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Storing Total Number of Pages



Hi!
Is there a way to store in a variable the total number of pages in a report.
Some of the pages in the report being produced are "dummy" pages which
doesn't count as a page.
I need to output:

      Page 1 of N

where N  = ceiling (#real_total_number_of_pages / 2)

Can I use last-page to get the total number of pages and store this in a variable?
Thanks.