Hi all,


I need to store the page counter after printing (on screen or printer) a
reports I am working on.

Code looks like :

SET var #PAGE INT = 0
PRINT ReportName
SHOW VAR

I used to do do that before with no problem.

But it don't work correctly this time ....

My report contains 3 pages, and the value returned in #PAGE is 2 ...
More generally, value returned is 1 less that the correct number.

Page counter prints or display correctly on the report, but the value
returned in #PAGE is not the last value printed ....

The 'Clear var after printing' check box as no effect on the issue.
Problem is the same when printing thru OM, at R> or in a command file.
Using RBW 6.5++ 1.851xRT03 and W98SE

Any idea about this strange issue ?

I tryed to trap the page counter with expressions in the report :
vnbpage INT  = (.#PAGE)
or 
vnbpage INT  = .#PAGE
with no success ....

TIA

J.M. GRATIAS, Logimatique
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to