I have a simple textbox called TotalCost with the formula =cost1+cost2+cost3+cost4. The cost fields are table fields. The table fields are set with the format as currency.
I have found that if one of the fields does not have any value in it, the formula won't calculate. If I put a 0 [zero] in the cost fields without any data, the formula works.
Example:
Cost1=$70; cost2=$160; cost3=null; cost4=null; TotalCost=[blank]
cost1-$70; cost2=$160; cost3=0; cost4=0; TotalCost=$230
Why doesn't access just consider a null value as 0?
Bill
I have found that if one of the fields does not have any value in it, the formula won't calculate. If I put a 0 [zero] in the cost fields without any data, the formula works.
Example:
Cost1=$70; cost2=$160; cost3=null; cost4=null; TotalCost=[blank]
cost1-$70; cost2=$160; cost3=0; cost4=0; TotalCost=$230
Why doesn't access just consider a null value as 0?
Bill