Hi-
I am having issues with adding up fields in a subform. I have a form that has a subform in datasheet mode. It lists titles of books with their correlating units [OH] and dollar amount [OHExtRetail].
The user will be able to delete records from this subform. I am trying to add in text boxes that list the sum of oh, the sum of extretail, and the count of titles.
I have tried it the three ways below with no luck... (I'll give examples with the OH field):
1. By putting in a text box in the footer of the subform. The control source reads =Sum([OH])
The issue I have with this is that I cannot get the footer to show up when the form is activated. The property is set on visible. I think the issue may be that I have the subform in datasheet mode (which I need for it to be in).
2. I then tried putting the text fields into the main form. I changed the Control Source to read = Sum([Forms}![tbletempreturnworkbook subform]![OH])
No luck.
3. I have a query that actually calculates the count of titles, the sum of OH and the sum of ExtRetail. So I tried this for the Control Source =[qryreturnworkbooktotals]![Units]
No luck.
Any ideas?
Thanks in advance.