Returning a value from Sub Report to Main Report in iReport

后端 未结 5 737
闹比i
闹比i 2020-12-09 12:39

Hi every one I am using iReports for generating one of the reports and stuck at one place.

The situation is like this:

I am using one sub report in my main r

5条回答
  •  囚心锁ツ
    2020-12-09 12:46

    Note, in earlier versions of JasperReports:

    When using a subreport returnValue, the variable returned must not be in the same band as the subreport itself.

    The affectation is done I think at the end of the rendering of the band.

    So add another band and use your variable inside.

提交回复
热议问题