What does Nz mean in VB code

  • Thread starter Thread starter Joyce
  • Start date Start date
J

Joyce

My code starts Nz(DLookup...
and I've never seen that prefix before
Thanks
 
It is the NullToZero function. It will convert any Null returned to a zero
(or some other value if you so specify). This is important because most VB
variables will not accept Null as a value. The single exception is the
Variant variable type.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top