Hello,
I have a string which contains sometimes a Null value, when i test :
"If sDateDispatch <> Null Then"
I don't have the exception on this, but it don't work
because the exception appears when i test :
"if sDateDispatch.CompareTo("1901-01-01") >0 then "
The code :
If sDateDispatch <> Null Then
If sDateDispatch.CompareTo("1901-01-01") >0 Then
Return
End If
End If
How to test this correctly?
Thank you
I have a string which contains sometimes a Null value, when i test :
"If sDateDispatch <> Null Then"
I don't have the exception on this, but it don't work
because the exception appears when i test :
"if sDateDispatch.CompareTo("1901-01-01") >0 then "
The code :
If sDateDispatch <> Null Then
If sDateDispatch.CompareTo("1901-01-01") >0 Then
Return
End If
End If
How to test this correctly?
Thank you