aspose file tools*
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Subreport in Ireports with different datasource