on 02-09-2009 5:13 AM
I am creating a smartform in which the current page & total NO of pages has to be printed on the page .so I created a text element under my main window.
page 1
window ( main window )
TEXT ELEMENT for page
loop
Text elemnt for data
But the page display is comming on one page only in the first page. I even tried with keeping the text element (for page) inside the loop. in this case it is giving me * for the total number of pages.
Can anyone tell me the reson for this.
Hi Mohamed
in this case you have to create a second window in the same page itself and give the type as L(Final Window).In this window create a text element and write &SFSY-PAGE& of &SFSY-FORMPAGES&.
SFSY-PAGE will give the current no. of page
SFSY-FORMPAGES will give the total number of pages
So it will come like this.
page 1
window ( main window )
TEXT ELEMENT for page
loop
Text elemnt for data.
SECONDARY WINDOW(TYPE L).
TEXTELEMENT (&SFSY-PAGE& of &SFSY-FORMPAGES& )
Try this
This will defnitely solve your problem
Regards
Hareesh Menon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guru's,
Thanks for everyone!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in smart forms we have system fields wich can give pageno & total nuber of pages u can use those standard fields for solve ur problem by just drag & drop.
on menu press the button field list.
sytemfields -
> sysf -
> page, formpages.
or add below fields.
sysf-page- for page no.
sysf-formpages for totl number of pages.
regds:
rajesh.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohamed,
Create the window and window type should be final window .
In that create the text node and text : PAGE &SFSY-PAGE OF &SFSY-FORMPAGES
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.