Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checking for nothing

Status
Not open for further replies.

enak

Programmer
Jul 2, 2002
412
US
How do I check to see if an object is set to Nothing?

(if rs is nothing then)??

TIA
Nate
 
if rs.EOF
if rs = ""
if IsNull(rs) _________________________________________________________
for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
 
I have something like this

if oMyObj = "" then
set oMyObj = server.createobject("MyObject.MyClass")
end if

I have tried what you suggested and it did not work. Is there something like the IsNothing() method for VBScript?

Nate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top