I have 2 subreports in a report. I need to refer to the total field from each of these and show the total payable. When I use the following syntax it doesn't seem to recognise the field.
Report!ReportName!FieldName.
The correct syntax should be:
=SubRptControlName.Report.txtTextBoxName
If there is a chance that the subreport will not have any data, then this will not calculate properly. You would need syntax like:
=IIf(SubRptControlName.Report.HasData, SubRptControlName.Report.txtTextBoxName,0)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.