Hi,
I am trying to divide in a report, but sometimes my denominator is equal to 0. So, I was trying to use Nz to return $0.00 if the denominator = 0 and to return the quotient if the denominator is not equal to zero. However, Nz returns my formula [textA]/[textB] rather than the correct number!!! Please help. This is my control property:
=IIf(Nz([textRSNO01])=0,"$0.00","[textRS01]/[textRSNO01]"
I am trying to divide in a report, but sometimes my denominator is equal to 0. So, I was trying to use Nz to return $0.00 if the denominator = 0 and to return the quotient if the denominator is not equal to zero. However, Nz returns my formula [textA]/[textB] rather than the correct number!!! Please help. This is my control property:
=IIf(Nz([textRSNO01])=0,"$0.00","[textRS01]/[textRSNO01]"