Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Triggering New Page in SmartForms

Former Member
0 Likes
454

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

2 REPLIES 2
Read only

Former Member
0 Likes
419

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

Read only

0 Likes
419

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