"Verkoop" wrote
Thanx! That works very good!
Exept when the field to total is a calculated
field. Do you also have a solution for this
problem.
The Sum function works fine on a calculated _Field_, which you would
calculate in the Query you use as Record Source.
Sum does not work on a calculated _Control_, which you would calculate in
its Control Source.
Generally, you can create a Sum Control where the calculation for the
individual Controls is the argument to Sum, such as:
= Sum([Units]*[CostPerUnit])
Larry Linson
Microsoft Access MVP