10-03-2008 7:59 AM
Hi all,
I need some help in page numbering of smartforms.
I have 3 pages created in my smartform.First Page occurs only once.
The second and 3 rd pagecan occur multiple times.How do I initialize and increament the page number in this case?For example : there are 7 pages ( 1st page :1 no., 2nd page: 4 no. and 3 rd page: 2no.s)
The second page numbering has to start from 1 and 3rd page numbering should again start from 1.
Helpful answeres will be rewarded for sure.
Thanks In Advance,
sandeep
10-03-2008 8:10 AM
Hi,
in the smartform do the following.
1. take three variables in global definition and set there default value '0'.
2. use one variable in each page.
3. in the three pages before the point where u print the page no. add a code to increment the variables by 1.
4. Display the variables as page no...
i think this will solve ur problem......
10-03-2008 8:16 AM
Before the starting of the 2nd page of the smartform you can clear the &SFSY-PAGE& and then you can set the page number. by counting using a variable.
Regards,
Midhun Abraham
10-03-2008 8:18 AM