Use the following code before the report command..
**
GLOBAL gnLastPage = 0
REPO FORM myReport NOCONSOLE
gnLastPage = _PAGENO
**
* Now print for real, using gnLastPage WITH REAL PAGE No.
(_PageNo 'OF' gnLastPage) can be used in report form.
**
Hope this helps
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.