In thread703-1030548 DHookom wrote: QUOTE: Captain Awesome, Is [Confirmed Total] a field in your report's record source? If it is a control name then you can't "Sum()" it. You can only Sum() expressions based on fields in your report's record source.
There are other ways to get the sum including summing your control source from the control or using a running sum. END QUOTE
I have the field named <InterestWI>. In the details of my subreport, which is based on a query, I want to sum that field, ([InterestWI],)in the details section of my report. Both the Name and the Control source are named InterestWI.
That field works properly in the Details section of the report. I.e. the field shows the interest that corresponds to InterestWI for each record.
However, the text box in the footer section has the formula =Sum([Interest]) In printview, that control returns #Error.
I have tried changing the name of the control source which resulted in no change.
I have tried =Sum(Nz([InterestWI]) and that too returns #Error.
What am I doing wrong? Thank you.
rccline
There are other ways to get the sum including summing your control source from the control or using a running sum. END QUOTE
I have the field named <InterestWI>. In the details of my subreport, which is based on a query, I want to sum that field, ([InterestWI],)in the details section of my report. Both the Name and the Control source are named InterestWI.
That field works properly in the Details section of the report. I.e. the field shows the interest that corresponds to InterestWI for each record.
However, the text box in the footer section has the formula =Sum([Interest]) In printview, that control returns #Error.
I have tried changing the name of the control source which resulted in no change.
I have tried =Sum(Nz([InterestWI]) and that too returns #Error.
What am I doing wrong? Thank you.
rccline