Thanks PH. I made the change as described but I am still getting the same error. This is only my second VBScript and I the query portion I wrote in Query Analyzer and pasted it into here. So I will be more than happy to fix the errors, is it just in the query portion that you see issues or the...
When I execute the script it tells me:
"Operation is not allowed when the object is open.
Line 32 "myMainConnection.open"
I tried looking out in the FAQs and couldn't find anything that addressed something similar. I tried adding a .Close at the end but then it gives me the same error but...
Thanks, that helped a lot and took care of that error message. Now I am getting an error "Object Variable not set Line (6): "objRecordSet.Source = "DECLARE @CURRENT_DATE DATETIME" &_".
I appreciate the assistance,
Micah
I have a script that is VBScript and not ASP, that when I kick it off I keep getting the error message "Line (2): "Set myMainConnection = CreateSqlConnection()". I am not sure what it is wanting here, below is the code:
Dim myMainConnection
Set myMainConnection = CreateSqlConnection()...
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.