Forum Discussion

Tony2021's avatar
Tony2021
Iron Contributor
Aug 27, 2022
Solved

Using Nz. Is =0 necessary?

hello Experts,   I need to get this off my mind.   In order to properly test for Nz you only need to test like this if your field is a number: Nz([Amount],0)   what's confusing to me is that I ...
  • arnel_gp's avatar
    arnel_gp
    Aug 28, 2022
    Nz([Expr1], [Expr2]) function, simly means:

    If the Value in [Expr1] is Null then Substitute [Expr2] as Return value, otherwise return the Value of [Expr1].
    If you omit [Expr2] then the Default (which is a Null String "") will be returned.

Resources