Hi,
What version of VFP are you using?
VFP8 do provide system variable for total report page.
If you are using VFP7 or earlier, you got to:
1. Modify your code
REPORT FORM myReport TO FILE tmpfile NOCONSOLE
ntotal = _pageno
REPORT FORM myReport PREVIEW
2. modify your field expression like _pageno of nTotal.
HTH
In report
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...