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
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.