Application Development 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: 

Totals in smartform

Former Member
0 Kudos
98

Hi,

I have a table in the main window of a smart form. In the footer of this table I am displaying totals and a footer text. I want the footer text to be printed on the end of each page and the totals after all the line items have been printed in the main window, at the end of the main window, the totals should be printed. This is working fine, except

when the last line item of the purchase order is split over 2 pages. Then the totals are printed on the page where the last line item began and on the page where the last line item ended. I want the totals to be printed after the last line item has ended. How can I achieve this?

Thanks,

Mick

2 REPLIES 2

0 Kudos
64

Thanks Keerthi. But I am not sure whether page protection will be able to completely eliminate the problem.

Since in the smartform logic I have said that if the GUID of the current line of internal table is equal to GUID of last line of internal table then print the totals.So even when I turn the page protection on and if the last line was prevented from being split due to page protection, the totals appear on two pages, that is the second last and the last page. I want the totals only on the last page.

Regards,

Mick