If the field type is currency or number, then this is called for:
If IsNull([Total1]) Or ([Total1]) = 0 Then
[Total1] = 0
End If
However, this is setting the field value in the table to 0, which should be the default value of the field. I would go back to the table design and set the default values of Price1, 2, 3, etc and Quantity1, 2, 3, etc to 0. Then you can just do the arithmetic without having to check for nulls. The totals will always be 0 if no amounts were entered when the record was created.
I am troubled by the need for Price1, 2, 3, etc since this indicates improper normalization. This is not developed for n number of sales, but 5 only.
HTH
mmcdonal
Look it up at:
http://wrox.books24x7.com