C
chasday
I have a Job Cost form with a Change Order subform. The fields in the subform
are totaled in the footer, and are then referenced in textboxes in the main
form. Everything works great as long as the subform has records returned. If
the subform is empty, the subform totals are blank and the referenced Text
boxes show #Error. I want the referenced boxes to have a 0 value.
The Control Source of the subform total textbox reads =Sum([EquipmentCost])
I Tried =Nz(Sum([EquipmentCost]),0) and =Nz((Sum([EquipmentCost])),0) to
replace Null with 0 but it didn't make a difference.
The Control Source of the Main form textbox is =([tblChangeOrder
subform].[Form]![tbCOEquipTotal])
Thanks for any help.
are totaled in the footer, and are then referenced in textboxes in the main
form. Everything works great as long as the subform has records returned. If
the subform is empty, the subform totals are blank and the referenced Text
boxes show #Error. I want the referenced boxes to have a 0 value.
The Control Source of the subform total textbox reads =Sum([EquipmentCost])
I Tried =Nz(Sum([EquipmentCost]),0) and =Nz((Sum([EquipmentCost])),0) to
replace Null with 0 but it didn't make a difference.
The Control Source of the Main form textbox is =([tblChangeOrder
subform].[Form]![tbCOEquipTotal])
Thanks for any help.