Jump to content
Changes to the Jaspersoft community edition download ×

Subreports in different data sources


javydreamercsw

Recommended Posts

Sorry for the double post but there's no way to see the views to the posts in this forum.

 

I've found where to set the new datasource expression but I'm not sure with the format.

If I'm correct this is the format:
((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{New_REPORT_DATA_SOURCE})

How is the New_REPORT_DATA_SOURCE specified?
How can I reference the already created Datasources from iReport?

Thanks in advance!

Also...

 

Is there another way to get reports from different datasources in one report?

 

:whistle:

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I read about subdatasets, but i think that they are only for Charts and Crosstabs, not for Main or Subreport. But maybe something has changed since iReport 1.1.0?

 

I also need to know if it is possible to use more than one Datasource in a Report or if I have to design and build a special Database just for Reporting.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...