Jump to content

Subreport with xlsx data source shows blank in main report


kevinvh

Recommended Posts

I am currently testing the jasperreport studio designer.

So what i am trying to do is to make a main report which contains a couple of subreports. Some of these subreports use an xlsx data source. When adding the subreports to the main report I use the "use a JRDatasource expression" option and enter new net.sf.jasperreports.engine.data.JRXlsDataSource(new File("path to xlsx")). But when I try to run the report I get an error message. I've noticed that the expression is for an xls datasource. But how can I change the expression so that I can use the xlsx data source?

Or isn't it possible to do this?

Thanks

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