If You run VFP 8 You can use _pagetotal. If You use VFP 6 You must run the report twice. Here it is:
mypagetotal = 0
REPORT FORM Myreport NOCONSOLE NOPROMP TO FILE Null
mypagetotal = _pageTotal
REPORT FORM Myreport
In report Use the variable mypagetotal as STR(_pageno) + "/"+STR(mypagetotal)
>hi to all,
>
>How can i display in my report the total page per page?
>i used only _pageno
>
>TIA
>Ryan.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.