mhathaway Posted September 19, 2009 Share Posted September 19, 2009 Hello,I have recently upgraded to iReport 3.6.0 from version 2.4.0 and my subreports now do not appear when the report is generated from a Java application. If I recompile the exact same report back in version 2, then everything works again. I'd love to start using version 3.6.0 so wondered if anybody knew of an issues or if a different approach is required?I have some interesting subreport properties. The jasper subreport is passed into the main report as a parameter. Therefore I have the following details:Subreport Expression: $P{subreport_jasper_file}Expression Class: net.sf.jasperreports.engine.JasperReportThe subreport makes use a datasource expression where I pass in a net.sf.jasperreports.engine.JRDataSource. Again, all of this works perfectly find unless compiled in version 3.6.0.This is driving me mad....any ideas would be greatly appreciated :) Link to comment Share on other sites More sharing options...
linvicch Posted September 21, 2009 Share Posted September 21, 2009 Thats a pretty big version gap.The syntax and funtionality will be quite different.This is off the top of my mind on things you can perhaps try. make sure your library are both up to date with the same ireport library.recompiling your old jrxml using version 2.4 with ireport 3.6 doesn't automatically convert it to be aligned with the new version so you may need to manually alter the jrxml in the xml panel.if I was doing the conversion, I would actually redo the whole thing as you can now make use of the new funtionality + you already have the sql parsed and it should be a breeze to set up the reports again. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now