J
joecosmides
I have a form that has a subform. On the sub form it is setup as a
datasheet. There is a Quantity field and a Description field on that
sub form. I can calculate the totals with an unbound field named
Total1. I tried using this code. I tried using this code in the
control source of the unbound field:
=Sum(nz([Quantity],0))
On the main form I use another unbound field called Total2. The
control source is =SubFormF.Form!Total
Whenever there are no items on the list I always get a #Error in
Total2. I'm trying to make is show 0 or even the word "zero" would be
ok.
Thanks!
datasheet. There is a Quantity field and a Description field on that
sub form. I can calculate the totals with an unbound field named
Total1. I tried using this code. I tried using this code in the
control source of the unbound field:
=Sum(nz([Quantity],0))
On the main form I use another unbound field called Total2. The
control source is =SubFormF.Form!Total
Whenever there are no items on the list I always get a #Error in
Total2. I'm trying to make is show 0 or even the word "zero" would be
ok.
Thanks!