Depends on your version of VFP.
With vfp 8 and up u can use the varaible _pagetotal as follows:
_pageno of _pagetotal
With version 7 and below you will first have declare a memroy variable. Run the report once, printing it to a file. Now get the value of the _pageno variable and assign it to a variable. Now run the report again using the variable you have just created.
Stuart Reid
True nobility lies not in being superior to another man, but in being superior to one’s previous self