Jump to content

How can i use two JRBeanArrayDataSource in a single report in iReport?


vamsikrishna

Recommended Posts

Hi

Am passing two sets of JRBeanArrayDataSource s from java to jasper. Am sending datasources as parameters

parameters.put("ds",datasource);

parameters.put("ds1",datasource1);

Here datasource and datasource1 are of type JRBeanArrayDataSource .In iReport am taking two parameters with the same name's  ds and ds1 with Parameterclass as "net.sf.jasperreports.engine.data.JRBeanArrayDataSource". When i export data am getting null values in report.

What might be the problem in this.Am using two datasources for the same report. Is that the problem?

Please provide me the solution for this. I need two datasources for the same report. How can i do that.

Thanks in advance

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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