on 06-18-2007 4:22 PM
Hi,
I'm having a problem getting the correct formpages total and cannot reset this field as well. Please help!
For example, 3 POs are passed into the smartform( PO1 and PO2 has 1 page each, while PO3 has 2 pages) . I set up the pages/page break as follows:-
1) 1st Page ( initialize page counter )
Inside, I defined a Loop node, with an event "At new" where I created a "Page break command" should the event be triggered.
2) 2nd Page ( increase page counter)
The SFSY-FORMPAGES is showing '2' for all 3 POs when displayed. Seems it is keeping the last value. Is there any way to reset this?
Hi Claire,
Use this in the place of what you have used and this will solve your problem.
Page: &SFSY-PAGE& of &SFSY-FORMPAGES&
This will give the output as Page 1 of 10. (Example).
Reward Points if useful.
Thanks,
Tej..
Message was edited by:
Shree Tejus
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 SFSY-FORMPAGES, it may solve your problem
i think SFSY-FORMPAGES will count the no of pages in form rather than no of pages for print
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
SFSY-FORMPAGES field will give the Total pages for a single PO only
if you are using multiple POs then this will be problem
Try to clear this AT NEW PO..event and see whether it get cleared or not.
Reward points for useful Answers
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.