if you need to put on your report something like: Page 1 of 8 then use the last solution (_pagetotal from Edward Pikman) and put a textbox with these inside:
look the _pagetotal variable on it. you don't need to run the report, but remember only if you're running vfp 9 if you're using vfp 7 _pagetotal doesn't exists.