Disable Page break between last table row and next frame

0

Hello. Help me please, how can I disable page break after Table element? I have Table element with binded Dataset. If my Dataset is long enough, I have page break, and I want to disable this page break immediately after last table row. I want to carry this last row to the next page and so have page break BEFORE last row. After Table element I have frame with some info, and this info should not be divided from table. Help me please.

reportDev11235's picture
Joined: Apr 25 2016 - 8:14am
Last seen: 3 years 2 months ago

Can you try with some print when expression condition on break eleement as per your report logic. ? Try getting the second last record

using REPORT_COUNT variable, you can try in this way.

sadakar - 3 years 2 months ago

1 Answer:

0

I have found a solution, used this approach and got exactly what was needed:

http://community.jaspersoft.com/wiki/how-keep-last-report-record-and-report-summary-information-together-even-when-pagination-occurs

However, I had to do some reengineering of my report. Table element was replaced by the subreport.

reportDev11235's picture
Joined: Apr 25 2016 - 8:14am
Last seen: 3 years 2 months ago
Feedback