ashuanindian Posted September 24, 2014 Share Posted September 24, 2014 Hello,I hava to print a subreport for each row in main report, but the problem is I got my data for subreport only when I am returning a field value for one of the column in main report.I read jasper reports do not support typical datatypes in field values( $F{abc} can hold only limited datatypes like string, number etc) like Arrays, List, Collection or JRDataSource.These complex datatypes are supported by Parameters but parameter values should be passed to main report during JasperFillManager.fillreport() function at that time I don't have datasource for my subreport.Is there any way by which I can pass my JRDataSource to subreport during exporting main report?Please tell me If it is possible or not. If it is then how.Please help me about this. Thanks 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