Nz function

rg2005

Registered User.
Local time
Today, 03:28
Joined
Dec 13, 2005
Messages
12
can someone explain to what this is and how it works
 
rg2005 said:
can someone explain to what this is and how it works

The best way to answer that is to do a F1 (help file) and view the information is has there. It will give what it does, and the syntex for it.

If you don't have that let me know and I will try and explain it.
 
ive read that but i still dont understand it
 
When you have a calculation that contains a Null value, the result of the
calculation will also be Null. A Null value is not the same as zero;

instead, it can be thought of as an unknown value. The result of adding an
unknown value to a number is unknown.

When you have fields that contain Null values, you can create an expression
that converts the Nulls to zero. You might do this if you want the records
containing Null values to be included in an aggregate (totals) calculation,
or if you want to prevent an expression from resulting in a Null value when
a field that is referenced in the expression contains Nulls. To convert
Null values to zero, use the Nz() function. For example:

Nz([Subtotal])+Nz([Freight])


Hope this helps...
 

Users who are viewing this thread

Back
Top Bottom