Several possible solutions:
a) Access 2007 can shows the totals at the foot of a datasheet. Previous
versions cannot.
b) Can you use Continuous View instead of Datasheet? You can arrange the
text boxes side-by-side like a datasheet, with the captions in the Form
Header and the totals in the Form Footer.
c) Alternatively, if you have the totals in the Form Footer (but not showing
because it's in Datasheet view), you can place a text box on the main form,
and set its ControlSource to (say):
=[Sub1].[Form]![Text1]
substituting your subform name for Sub1, and the total text box name for
Text1.
The last solution has problems if there are no records and no new record can
be added:
http://allenbrowne.com/RecordCountError.html
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.