I'm wondering which method works the best for checking for null string values.
Currently I have:
If Not IsNull(txtmyvalue) Then
'Do something here
Else
'Do something else here
End If
What is the difference if I did this instead:
If (txtmyvalue)<>vbNullString Then
'Do Something here
Else
'Do something else here
End If
Any comments or insights are appreciated.
Thanks.
Currently I have:
If Not IsNull(txtmyvalue) Then
'Do something here
Else
'Do something else here
End If
What is the difference if I did this instead:
If (txtmyvalue)<>vbNullString Then
'Do Something here
Else
'Do something else here
End If
Any comments or insights are appreciated.
Thanks.