>My report numbers the pages as follow : Page : 1, Page : 2 .....
>
>I would like to number the pages with the total of pages that I am printing as follow :
>
> Page : 1 of 25, Page : 2 of 25, ....
>
>Does anybody knows how to do this?
>
>Thanks,
>Sergio
You have to run the report first to find out how many pages it contains.
Check the value of _PAGENO when it is finished and this is your total number of pages.
REPORT FORM myreport to tmpfile.txt
PRIVATE nTotPages
nTotPages = _PAGENO
Then in your report, refer to the nTotPages variable.
Erik Moore
Clientelligence