I am developing a new form using smartforms.
In the main window I added a table with different line types. One block shows customer orders. Within the customer the orders get printed. After each order the subtotals of the order and at the end of the customer the totals will be shown.
Everything is working fine so far. I grouped the lines within a folder and set the page protection marker.
But unfortunately the "End of sort" event can not be included into this folder, therefore it can happen, that the subtotals or totals get printed on the next page.
How can I tell the form, that the event should print the totals in the same block as the line items, and if necessary to move the block completely onto the next page?