Hi Jessica,
Use _PAGETOTAL System Variable
atleast available in VFP 8.
>Hi,
>
>I have a report which has 400 pages. I have to display the page number and the page total at the bottom of each page. I am running the same report twice, firstly to get the page total and then to display it in the report the second time.
>
>This takes too much time.
>Is there any way that i can get the no of pages before displaying the report, so i dont have to run the same report twice.
>
>Any answers ??
>
>Thanks & Regards,
>JD.