Actually it's four subreports on one main report. The Main report is
named
"Statistical Report - Type of Audits-Main Report", then there are four
subreports named:
Statistical Sub-Report - Type of Audit-Both SSA and FSA
Statistical Sub-Report - Type of Audit-FSA Only
Statistical Sub-Report - Type of Audit-Other Audits
Statistical Sub-Report - Type of Audit-SSA Only
each of these reports have a text box with the control source of
=[RecordCount]. The text boxes are named total1, total2, total3, total4.
These text boxes are located in the group footer of the report's data.
I tried putting a text box on the main report with the following as a
control source but that gave me a name? error. All of these reports
should
return records.
= Reports![Statistical Sub-Report - Type of Audit-Both SSA and
FSA]![total1]
+ Reports![Statistical Sub-Report - Type of Audit-FSA Only]![total2] +
Reports![Statistical Sub-Report - Type of Audit-SSA Only]![total3] +
Reports![Statistical Sub-Report - Type of Audit-Other Audits]![total4]
Duane Hookom said:
1) What expression did you try?
2) What were your results?
3) Do you have some subreport names?
4) What is the name of control with the control source of =[RecordCount]?
5) What section of the subreport is this control located in?
6) Is it possible that one or more of the subreports might not return any
records?
--
Duane Hookom
MS Access MVP
I have a report with three subreports. All three have a have a text box
with
the control source of =[RecordCount]. Now I'd like to total those up
and
place them in a text box on the Parent report. However, I'm having
difficulty with this.