Reputation: 821
I have 2 Datasources A and B. I have 2 Datasets 'a' and 'b' respectively from them.
I need to use datasets 'a' and 'b' and generate a report from them. [i.e, Create a table and use the fields from both dataset 'a' and dataset 'b']
I cannot use a subreport or a jar.
Is there a way in iReport to acheive my requirement?
I am using Ireport 4.7.
Thanks for the help!
Upvotes: 0
Views: 4940
Reputation: 3548
It is not possible in Ireport 4.7 what you can do, create two datasets as you have done already and use two table element side by side, then only you can show two fields from different datasets.
Upvotes: 0
Reputation: 377
As far as I know you cannot do this in reports in JaseperReports Server 4.7. 2 Datasets can be used for 2 different graphical widgets separately.
JasperReports Server 5.0 allows you to create domains based on multiple datasources, which may accomplish what you're trying to do.
Upvotes: 1