Posted 4 August 2017, 3:19 pm ESTI know howto put pagebreak after, lets say, 20 lines. What I want to do is put a page break after detail section length for a specified paper size is filled by records.
Lets say each line takes 30 pixels. for an A4 paper, after extracting header and footer parts, 600 pixels left for details section. this makes 20 regular lines. but if one of records have long contect and the field allowd growing, one of the lines takes 60 pixels. At this point we should have 19 lines instead of 20. That is the problem. I want to say "fill details section with records, if total height of these lines bigger than 600 pixel (or X cm, or Y twip, whatever) put a page break.
any solutions please ?