Print Header Band in Summary Band in Jasper Reports

ireportjasper-reports

I've a report that has a header band, detail band, and summary band. I'm trying to push the summary band always to be on a new page using the report property "Summary on a new page", I want to display the header band along with the summary band. How can I achieve that?

I'm using Jasper Reports 3.7.6 and iReports 1.2

Best Answer

If I've understood your question correctly, you want the summary to begin on a new page, but that page should still have the page header that appears on all the other pages.

In the past this could be solved by unchecking the new page option and instead starting your summary band with a break element, but Jaspersoft has since added a "Summary with Page Header and Footer" option to solve this precise problem.

iReport 1.2 may not give you that option, in which case you should move to iReport 3.7.6. (Not the latest version! The iReport version you use should always match the version of Jasper Reports you want to compile with.)

Related Topic