M
mscertified
I have a form containing a subform. The subform lists payments. I need to
display on the main form a total of the payments in the subform. The current
controlsource is working except when the subform is empty (no payments exist)
it displays #Error. How should this be done? Also, is the current event the
correct place to set this controlsource. Thanks.
Here is how it is set up now: the subform has a Payment control and a
TotalPayments control (set to =Sum(Payment)). The main form has a control
with controlsource "=TotalPayments"
display on the main form a total of the payments in the subform. The current
controlsource is working except when the subform is empty (no payments exist)
it displays #Error. How should this be done? Also, is the current event the
correct place to set this controlsource. Thanks.
Here is how it is set up now: the subform has a Payment control and a
TotalPayments control (set to =Sum(Payment)). The main form has a control
with controlsource "=TotalPayments"