> how could i put # of pages in report.
>
> like this: Page 1 of 3
>
> there is only variable that i find which is the _pbpageno i guess.
>
> is there a variable to determine the # of pages in a report?
>
>
> thanks,
>
> john
In VFP versions before 8 you need to run the report twice.
You can do it like so:
ntot_page = 0
report form .\reports\execrep to c:\temp\<font color="Blue">exec.txt noconsole
ntot_page = _pageno
You will need to have the variable nTot_Page as part of the Page x of y statement on the report.
Then run your report again.
Simon Arnold.