chriske911 said:
I ment a sum of an invoice where the record contains a field of type
A and the seme sum but now for type B
it's to split up grand totals of a report into the specific types
Ah, that's not what you said. Sure, that's not much more complicated.
I'm assuming you haven't grouped your report by RecordType, or else you
could put simple subtotal boxes in the group footers and redisplay their
values in the report footer. So instead you could use either of these:
=Sum(IIf([RecordType]="A", [Amount], 0))
or
=Abs(Sum(([RecordType]="A")*[Amount]))
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)