I am trying to get a total amount of currency fields in a subform to show in a currency field of my main form. The subform (named "Dose_Tracker_Subform") is a datasheet. I set up a text box in the subform footer (named "subtotal") totaling the field (DosePrice) by putting the following code in the "subtotal" control source: =Sum([DosePrice])
Then I placed the following code in the main form field that I want to display the subform total: =[Forms]![Dose_Tracker_Subform]![subtotal]
However instead of getting a total I get a #Name? error.
What am I doing wrong?