Jump to content

Subreport on different datasource than Master


javydreamercsw

Recommended Posts

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!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

javydreamercsw wrote:

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!

 

Is this possible or I'm just dumb?

Link to comment
Share on other sites

  • 5 years later...

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...