title: Passing values from main report to subreport in JasperReports
body: <p>I have a simple select sql query with 2 parameters that I want it to be in my query text in main report. It returns about 100 values that I want to put in 10 subreports (10 values per subreport). On main report I need to display only one parameter. All the values from query I need to be in subreports. How do I pass them? <br/>
  Connection to database is returned to me from application, parameter values also. I'm using <em>iReport 4.7.0</em>. </p>