07-24-2007 4:50 PM
Hi,
In smartforms I have an internal table which has abt 10 records i have to print each record in different pages with page nos 1/1 , 1/2 .... etc till 10/10 , if the records are less then have to print accordingly. the layout is same for all the pages.
ie the same page must be printed for each record of the internal table.
give me detailed answers pls,.....
Points sure ......
Regards
Arun T
07-24-2007 5:30 PM
Hi,
I feel you can increase the size of the window (containing the text element) in such a way that it fills the page...So that way the next record will automatically go to the next page....
for...1/10..2/10.....issue....You can declare a counter variable in global definition and put it accordingly in your page for the first part and you an use a simple text "/10" for the second part
07-24-2007 5:07 PM
Hi
Create a COMMAND line for the window and check the check box NEW-PAGE by defining the condition to trigger the new-page such that for every customer it triggers a page-break.
Use &SFSY-PAGE& / &SFSY-FORMPAGES& TO PRINT THE PAGES LIKE
1/4, 2/4, 3/4, 4/4 etc
<b>Reward points for useful Answers</b>
Regards
Anji
07-24-2007 5:24 PM
Can u be more detailed on how to get new page for each record
With Regards
Arun T
07-24-2007 5:30 PM
Hi,
I feel you can increase the size of the window (containing the text element) in such a way that it fills the page...So that way the next record will automatically go to the next page....
for...1/10..2/10.....issue....You can declare a counter variable in global definition and put it accordingly in your page for the first part and you an use a simple text "/10" for the second part
10-18-2007 11:13 AM