Are you using Access 2007?
If so, I just do it like this.
Select the subform table, or table you are wanting the total column on, in Form view.
Then apply a 'totals' row.
the same button is in access 2003 and i think 2000 as well
it makes a query groupBy
look on the toolbar in the Design View of the query