Sum a field in Report Footer (1 Viewer)

Grandchester

Registered User.
Local time
Today, 06:37
Joined
Jan 26, 2001
Messages
20
Hi there. I have a field called Qty on a report that contains some numeric value. I want to sum that value on the footer of the report. I have put a text box in the footer and for the Control Source I put
"=Sum([Qty])" (without the quotes). When I try to run the report it keeps prompting me for a value for the field. It is spelled correctly and everything, but it just doens't seem to be working. Any ideas? Thanks!!
 

Grandchester

Registered User.
Local time
Today, 06:37
Joined
Jan 26, 2001
Messages
20
The report footer. I need to sum the whole report. I put it in the page footer, but that gives me a value of #error.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 01:37
Joined
Feb 19, 2002
Messages
43,484
If Qty is the name of a calculated control, you can't use it in a Sum() function. You need to re-do the calculation.

=Sum(fldA * fldB)
 

Users who are viewing this thread

Top Bottom