detail on new page
good morning,
I am new in using fastreport and I have a question:
I made a report like this:
- master detail
- detail 1
- detail 2
- master footer
It is running good, but if there are many lines for detail1, the detail2 is splitted in two parts.
Is it possible to avoid this and to print the detail2 on the new page in this case ?
Because the detail2 is always 4 lines. So it's not beautiful to have 2 lines on page one and 2 lines on page two .
for example sometimes I have this:
first page
master detail
detail1
detail1
---
detail1
detail1
detail2
detail2
second page
detail2
detail2
master footer
If there is not enough space on page one , I want the detail2 on page two. ?
regards
I am new in using fastreport and I have a question:
I made a report like this:
- master detail
- detail 1
- detail 2
- master footer
It is running good, but if there are many lines for detail1, the detail2 is splitted in two parts.
Is it possible to avoid this and to print the detail2 on the new page in this case ?
Because the detail2 is always 4 lines. So it's not beautiful to have 2 lines on page one and 2 lines on page two .
for example sometimes I have this:
first page
master detail
detail1
detail1
---
detail1
detail1
detail2
detail2
second page
detail2
detail2
master footer
If there is not enough space on page one , I want the detail2 on page two. ?
regards
Comments
if engine.freespace < somevalue then engine.newpage.