in my smartform's main window I'm printing a table with N columns. The first column will print the material code and description only at material code change or at new page. To achieve this I have inserted a code node in the first column to evaluate page breaks or material change and a text node with condition, that will print only if the above conditions are satisfied. The table is sorted by material code, the line type used is page-break protected.
It happen that if page-break occurs due to line protection, the line that cause the page break is printed on the second page without material code/description, and only at the following line the material code/description is printed.
Is there a way to know in advance if a line will fit in window or will cause a page break?
thank you in advance, Stefano