on 02-27-2008 7:44 AM
hi
I want to display "Continue" word in all pages except last page . How we write logic for this.
I tried in Text elements -> conditions tab
sfsy-page < sfsy-formpages.
But it is not working.
Please reply.
Reward points if helpful.
Regards
Rami Reddy
Hi,
You can try it with the following methods.
1) There is a variable &NEXTPAGE& which returns value '0' on last page. So check the variable &NEXTPAGE&. IF it is '0' then don't print 'CONTINUE'.
2) Subtract '1' from formpages. Assign it to a variable say var1.
do var1 times
print continued.
enddo.
Hope it will solve your problem.
Thanks,
Parul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Sorry for Late Reply,
It asked you to explain your scenario..
but you hven't..
Let me assume you want to print 10 records.. for example While printing some letters for 10 employees altogether each letter is one page text.
Its One method of woring the above requirements..
1) Create a window.. -> create a Program lines ( inside specify the code shown below )
describe table it_table lines lin.
a = a + 1.
var = 'contined'.
In the Input Parameters call the Variables, you are going to use.
In the Output parameters pass the Variables, you want in the next node..
Such as VAR & A to compare in the TEXT Node Below
Note :
Assuem , it_table contains number of records.
Lin contains the number of records
A could be a integer.
Var is of type c or string.
Define all the variable use in Global Definition.
2) Create a Text Node .
call the VAR field here..
place a condition in the condition tab a less than lin.
reward point if its useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi can you explain you scenario..
So that it will be little bit quite help ful to answer.
regards
Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
try using sfsy-jobpages instead of form pages
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.