Meaningless Drivel is fun!
The moose likes Other Open Source Projects and the fly likes Nested Subreport (2nd Level Report) 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 "Nested Subreport (2nd Level Report)" Watch "Nested Subreport (2nd Level Report)" New topic

Nested Subreport (2nd Level Report)

Rendi Artha

Joined: Jan 20, 2010
Posts: 29
is there any ways how to do nested report?I could preview report which containing more than 1 subreport (1st level subreport).
But how to configure subreport on 2nd level? which means there are subreport on another subreport (nested subreport).

Any suggestion would be avaluable.

Best Regards,
Rendi A
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

What technology are you using?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Rendi Artha

Joined: Jan 20, 2010
Posts: 29
Martijn Verburg wrote:What technology are you using?

i use iReport 3.5 and already solve.

Thanks javaranch..
Bharati Tm

Joined: Feb 10, 2012
Posts: 2
Hi Rendi Artha,
Can you please share how you managed to pass the datasource to the 2nd level subreport. I am using ireport 5.1.0.
I have to pass two datasources (JRBeanCollectionDatasource ) to a subreport. One Datasource, I am passing using the Subreport Expression(Specifying the subreport name) and datasource Expression on subreport.
How do I pass the second the datasource?
Also the second datasource will populate the subreport, which in turn contains subreports, for which I have pass datasources (as ParameterMap) through the Main report.

Thanks in advance,
I agree. Here's the link:
subject: Nested Subreport (2nd Level Report)
It's not a secret anymore!