Returning a value from Sub Report to Main Report in iReport

后端 未结 5 748
闹比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:47

    Although the question is already answered, I would like to highlight the importance of having calculation="System" on the variable in the Main Report (the report calling the SubReport).

    I wasted a lot of time before figuring this out...

    In the dummy-code for Main Report JRXML above, the variable "A" correctly has calculation="System". NB: The answer by @GenericJon covers the variable in the SubReport.

提交回复
热议问题