Reputation: 35
I'm trying to use Java to call many reports made in jasper, I can call the jasper and give data to the main dataset but when I need to make some diferent datasets to have diferent tables in the report, I don't know how it's posible send data to there. Its posible give data to these datasets? and if its posible. Why can I give data to subdatasets of jasper using java?
Upvotes: 0
Views: 2006
Reputation: 2275
If you want to send data from the main report to the dataset/subreport, data which you already have sent to the main report as a datasource, why don't you send this via the connection expression of the dataset/subreport using the REPORT_DATA_SOURCE
main report parameter?
Upvotes: 1