nstonebraker Posted August 13, 2014 Posted August 13, 2014 I'm not sure what I'm doing wrong here, so if anyone could point me in the right direction I'd be greatly apppreciative. I'm running iReports(5.5 I believe) and I have sample data beans + factory jarred and included in iReports classpath.I'm trying to display multiple nested lists in subreports(eg. company -> employee_list -> phone_list). The report setup looks like this...Main (Company info)Main details section - Subreport1(company.employee_list)Subreport1 details section - Subreport2(employee.phone_list)Subreport2 Details section - phone number fieldI'm passing data to the subreports like this... new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{employee_list}). Each subreport is created the details section of its parent, and only the main report has any fields outside of details.The problem I have is my report is rendering all the phone numbers under the first employee and then the remaining employees are rendered at the end with no phone numbers like this....Company XYZBob555-1234555-1236555-1237555-1238555-1239555-1240...JoeSusanMikeWhat am i doing wrong? I tried puting the employee / phone number fields in various different bands to no avail. Im sure its probably something trivial
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