Hello,
I am passing a variable from a subreport back to the main report.
This is working with one problem.
If the subreport has no records to report, the variable being passed back to the main report is wrong.
The variable should always report the value from the subreport for the current record.
The subreport itself prints correctly, but the variable appears to be from the previous record’s subreport value.