The code above does use set, it works. Sorry the original post is a bit unclear however.
I'm trying to return a connection object from a function, use that connection object to call
set rs = conn.execute(...)
three times, then close the connection
conn.close
set conn = nothing
THe code that...
Working on ASP page which returns the results of three ADODB queries to populate drop down menus. If I return from connection from a function, it does not seem to work. Is this because the type of the returned value in VBScript is Variant? If the connection is returned, then it can be closed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.