hokiewalrus
Registered User.
- Local time
- Today, 17:12
- Joined
- Jan 19, 2009
- Messages
- 50
I have a form that opens with 2 empty subforms (items and payments) that later get filled in. Each subform keeps a running total of the items they contain, then the parent form holds the grand total of both.
No matter what I do, I can't get the subform totals to show up as 0 when the subforms are empty.
I thought this would work:
But no dice. I've also tried variations of IIF and HASDATA but I can't get the subform total field to be anything but blank when there is no data in the subforms.
I think I may actually be losing hair over this.
No matter what I do, I can't get the subform totals to show up as 0 when the subforms are empty.
I thought this would work:
Code:
=Nz(Sum([Total]),0)
But no dice. I've also tried variations of IIF and HASDATA but I can't get the subform total field to be anything but blank when there is no data in the subforms.
I think I may actually be losing hair over this.