wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes JasperReport with 3-level Subreports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JasperReport with 3-level Subreports" Watch "JasperReport with 3-level Subreports" New topic
Author

JasperReport with 3-level Subreports

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 113
Hi there,

I need to produce a report inside another which at the time is inside another one. I must do this since I want to nest aggregate tabular data, which goes down three levels. What I have done for another two level report I had to produce, is to pass structures in Java as parameters in the form of array lists and then pass to the inner report an appropiate instance for parameters and the datasource, and point with the variable REPORT_COUNT to the correspondent instance inside a container collection. But if I want to approach a 3-level nesting report with this strategy it gets really cumbersome and very confusing to produce the data structure to populate the report.

Does anyone know an easier strategy to attain it? I have heard it is doable to produce a report and "print it" in a printable jasperreport object, for then to be merged to other instances and build an aggregated document. Could any one point to any valid strategy?

Hope the explanation was clear. Many thanks in advance for your attention.

Carlos.
 
Consider Paul's rocket mass heater.
 
subject: JasperReport with 3-level Subreports
 
Similar Threads
[RESOLVED] jasper & iReport multi-reports
Struts and jasper report
Help on Reports in java.
JasperReport sureport inside subreport
two versions for filling the report, whhch one is the best??