M
Microsoft
Hi
I have the following
=Nz(DSum("ItemQty * UnitRate","tblItemDetails","EstimateNo ='" &
I have a form (ItemHeader) with a subform (ItemDetails) - the above formula
displays the total of the ItemDetail records relating to the ItemHeader - no
problem.
however when the form is opened in edit mode it always shows #Error on the
form for the new record because there aren't any ItemDetails entered yet.
Is there a way of surpressing this #Error so that users can't see it or
amending the formula so that 0 appears instead.
Thanks
Alison
I have the following
=Nz(DSum("ItemQty * UnitRate","tblItemDetails","EstimateNo ='" &
[txtEstimateNo] & "' AND ItemNo= '" & [txtItemNo] & "'"),0)
I have a form (ItemHeader) with a subform (ItemDetails) - the above formula
displays the total of the ItemDetail records relating to the ItemHeader - no
problem.
however when the form is opened in edit mode it always shows #Error on the
form for the new record because there aren't any ItemDetails entered yet.
Is there a way of surpressing this #Error so that users can't see it or
amending the formula so that 0 appears instead.
Thanks
Alison