>HI Nicholas
>
>There is no way in VFP 5,6,7 but u can done it by this way
>
>Set the TOTALPAGENO as Public Variable
>
> Report form rptrun to x.prn Noconsole
> TOTALPAGENO=_PAGENO
> ERASE x.prn
> Report form rptrun to Print Prompt Noconsole
Why such obsession with Public variables? LOCAL or PRIVATE will do in this case and in almost all other cases.
--sb--