Steve you are using VFP 8.0 - right? This is the only version that supports _PAGETOTAL. Note: I tried your code on a simple report in 8.0 and it works fine.
Rick
>As per the help on _pagetotoal I inserted the following into a textbox control on my report:
>
"Page " + TRANS(_PAGENO) + " of " + TRANS( _PAGETOTAL)
>
>
>and it returns an error of _pagetotal variable not found?
>
>Trying to accomplish page x of y.