>"Is Nothing" in stead of "= nothing"
So the opposite (which is what I need would be:
If Not oTest Is Nothing Then
MsgBox ("object")
Else
MsgBox ("nothing")
End If
correct?
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!