Minty
AWF VIP
- Local time
- Today, 16:17
- Joined
- Jul 26, 2013
- Messages
- 10,640
Ah ok, in that instance and context they are the same as the .Text property would return an empty string.so on post #14, you said:
Nz(Text309.Text) is not the same as Nz(Text309.Text, "")?
But personally, I still think I would prefer to not assume the result, and it shouldn't be used without the replacement value in a query.
Interesting results from this;
Code:
Sub Test1()
Dim vVAr As Variant
Debug.Print vVAr
vVAr = Null
Debug.Print vVAr
Debug.Print Len(vVAr & "")
Debug.Print IsNull(vVAr)
Debug.Print IsNull(Nz(vVAr))
End Sub
Immediate window
test1
' This suprised me
Null
0
True
False
Last edited: