on 06-29-2007 11:36 AM
Hi all,
I have problems for printing the page number in a SAPSCRIPT.
I´m using: AS &PAGE& / &SAPSCRIPT-FORMPAGES&
The forms works ok if I have less than 10 pages. It puts 1/10, 2/20.........9/10
But if it has 10 or more pages it puts 1/10 again instead of 10/10
can be truncated the &PAGE& ????????
Which is the correct way for the sentence: AS &PAGE& / &SAPSCRIPT-FORMPAGES& for printing ok, for example 1/15, 2/15..........14/15, 15/15 instead of 1/15, 2/15, 1/15, 1/15 ????
Thans in advance.
Pilar.
Thanks, the question is answered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check.
AS <b>&PAGE(3Z)&</b> / &SAPSCRIPT-FORMPAGES&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer.
I yet have solved the problem.
The solution is:
In the definition of the page FIRST there is a field (output length) that allows to fix the lenght of the variable for printing the page number. That field had the value 1, so I never saw the page number 10, :-(.
Thanks anyway for your help.
Pilar.
User | Count |
---|---|
73 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.