What I'm trying to do is pass a resultset to my main report (top level) and each time the main report changes to a new record pass a field from the recordset to a subreport as a parameter. I have been able to pass a fixed parameter value to the top level report and see that in the subreport - but I want to link the subreport to the current record of the master report - i.e. make it change with each row.
I'm using JasperReports in Eclipse - latest version. If someone could point me at some documentation or example code on how to do this it would great.