2006 May 02 12:20 PM
Hi,
I've written a program to print an Invoice wherein I'm calling the Smartform. The selection screen has the option of getting More than One Invoice. So, if I give Invoice Numbers say for example :- 1 to 10. Then I'm getting all the Materials in a single page. I want to trigger a newpage for every new Invoice Number.Also, in the Header for every invoice I need to print the Invoice number which is also not Printing.
Please throw some light into this problem.Awaiting your solutions.
Thanks & Regards
Ramky.G
Hi,
I've written a program to print an Invoice wherein I'm calling the Smartform. The selection screen has the option of getting More than One Invoice. So, if I give Invoice Numbers say for example :- 1 to 10. Then I'm getting all the Materials in a single page. I want to trigger a newpage for every new Invoice Number.Also, in the Header for every invoice I need to print the Invoice number which is also not Printing.
Please throw some light into this problem.Awaiting your solutions.
Thanks & Regards
Ramky.G
2006 May 02 12:23 PM
Hi,
1. Ideally, I would call the SMART Form in the loop of the invoice tables, once per each invoice document.
2. If you want to force a page break anyways, use the COMMAND object and specify Go TO NEXT PAGE.
Regards,
Ravi
Note: Please mark the helpful answers
2006 May 09 10:48 AM
Hi,
Thanks a lot for the reply. I've tried giving the Command Object now a newpage is triggered and the Header of the Second Invoice Number is getting printed but still the header of the First Invoice Number ( ie. printing the Invoice Number and date ) is not getting printed and the contents of both the first and the second invoice numbers are getting printed in the First page itself incase I give 2 Invoice numbers as I/P.
Any Other Inputs will be very helpful.
Regards
Ramakrishnan.G