JasperReports: How to pass parameter to subReport
Try using iReport if you are not. When viewing a report within iReport you can select the properties of the subreport within the main report. In this there is an option in Subreport properties called Parameters. Using this you can pass parameters to your subreport. Select this and click the Add button. Then click the … Read more