For some reason my page footer with the date and page x/y gets only printed on the very last page. Does anyone have an idea why?
I am using JasperReports 3.1.2
and iReport 3.0.0
.
EDIT: just for the record: it worked after I moved two subreports and two page breaks from the Title
band to the Detail
band. Don't know why I put them there, but now it works..
To add a new page go to Ireport and "Add Report Group" ,by adding report group you can add as many pages you want.
right click on the report in the report inspector and choose Add Report Group. Follow the wizard, set as group name PledgeType and choose Group by the following report object where you select the field PledgeType. Click next. Check Add the group header and click Finish.
Solution: This behavior is not possible in a regular report with subreports. Main report controls the pagination and pagination settings are ignored on subreport level. To achieve the desired result in this situation one would need to create a Workbook Report (aka report book feature added in 6.
You can select which band to add. just use page footer instead last page footer. Last page footer is used when you want something to be printed at last, but the contain is so much that it overflows to many pages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With