I used the wizard to generate a report based on a query.
In the report, under the detail, I changed the txt box name to txtField. then I created a text box under report footer to sum the values from the field in the details. On the control source, I typed:
=Sum([Field]). (the Field is the name appeared on the drop down list of the control source). then I got the "Error". I also tried on the control source to type in =sum([qryName]![field]). still didn't work.
Any help will be much appreciated.
In the report, under the detail, I changed the txt box name to txtField. then I created a text box under report footer to sum the values from the field in the details. On the control source, I typed:
=Sum([Field]). (the Field is the name appeared on the drop down list of the control source). then I got the "Error". I also tried on the control source to type in =sum([qryName]![field]). still didn't work.
Any help will be much appreciated.