wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Subreport in Ireports with different datasource 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 "Subreport in Ireports with different datasource" Watch "Subreport in Ireports with different datasource" New topic
Author

Subreport in Ireports with different datasource

Pranav Lunavat
Greenhorn

Joined: Jan 08, 2012
Posts: 2
I want to display subreport (which has its own datasource) in master report which is using(empty datasource).
both work fine individually (without subreport in master report)

but as soon i insert the subreport the compiled report shows blank page..

could anyone tell me how to pass a datasource other than empty datasource to the sub report...

if both master and subreport has the same datasource then i can pass the connection as $P{REPORT_CONNECTION}. but what should i do for different datasource of subreport

Regards,
Pranav
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Subreport in Ireports with different datasource
 
Similar Threads
[RESOLVED] jasper & iReport multi-reports
Jasper REport Help
Passing dataSource to subreport in ireport
Error with Subreport
Nested Subreport (2nd Level Report)