Assume I create an object:
set newcon = Server.CreateObject("ADODB.Connection")
And at some point I destroy it:
set newcon = nothing
How can I tell if newcon is an object or nothing?
I have tried:
newcon is nothing
but I get object required.
If I try isobject or isnull or isempty it doesn’t return either true or false.
Is there something else that really works?
I believe you accidentially changed newcon before testing it with Is Nothing:
If you get Error 434, then newcon (or the variable you really test) doesn’t hold an object or Nothing.