Passing parameters from main report to subreport in Jasper

前端 未结 3 1186
抹茶落季
抹茶落季 2020-12-03 07:08

I have a JasperReport where I am passing the report Date from a Main Report to a sub report. This works fine. I also have another where I am passing the same parame

3条回答
  •  眼角桃花
    2020-12-03 07:56

    If you are using iReport to create reports then open the main report in iReport and select Subreport and go to the property section of the report, click on Parameters property and click on Copy from master tab. From there you can select the parameters which you want to pass to the sub report.

提交回复
热议问题