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?