aspose file tools*
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
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: 114
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JasperReport with 3-level Subreports