mwolven Posted September 18, 2015 Posted September 18, 2015 Created a report in JasperStudio. Complicated report with subreports, and subreports on the subreports.When I run it in JasperServer, pages 6-35 are identical - except for the page number in the footer. The identical pages show in JasperStudio, and in PDF and XL exports.Any suggestions as to what is going on here?
joel.carlson Posted September 18, 2015 Posted September 18, 2015 If the report is in the details section try moving it to the summary section, that should get rid of the repeating pages.
hozawa Posted September 20, 2015 Posted September 20, 2015 Clarifying joel's reply, if you put subreports in a detail band, it would get repeated for each row in the dataset. Try moving the subreports to a summary band so it would only be processed once.
mwolven Posted September 23, 2015 Author Posted September 23, 2015 So, if I move my subreports to the summary, then they will only print at the end of the report. Correct?Maybe I am using subreports incorrectly?I have a detail row, and then I want to display a row (or rows) of related data. There can be 0, 1 or more related rows, so, I set them up in a subreport. Shouldn't the subreport be called after the detail grouping finishes? That is, if I group in Inventory_ID, when all the detail rows are printed, it should then print the subreport related to that Inventory_ID.Then it should go on to display that next Inventory_ID.Is my logic correct? If I set the report to group on Inventory_ID, should it print the detail row, then any sub reports in the Group footer? Or would those be in the Detail band?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now