J
JoeA2006
Is it possible to have instances after using the Nz function in an
expression, to still see a #Error in the text box of a form or report when
the field in the subform contains a null. Here is the expression which I
think is correct.
=Nz([qryPurchases subform].Form![PURCH TOTAL],0)+Nz([qryPurchasesW
subform].Form!PurchWTotal,0)
Since the underlying query returns no data in this instance I also tried
the IIf function, but that did not seem to work. The Nz function works fine
for the other calculations on the form.(from different subreports using
different queries)
and I am having trouble determining why this case is different.
expression, to still see a #Error in the text box of a form or report when
the field in the subform contains a null. Here is the expression which I
think is correct.
=Nz([qryPurchases subform].Form![PURCH TOTAL],0)+Nz([qryPurchasesW
subform].Form!PurchWTotal,0)
Since the underlying query returns no data in this instance I also tried
the IIf function, but that did not seem to work. The Nz function works fine
for the other calculations on the form.(from different subreports using
different queries)
and I am having trouble determining why this case is different.