My Dear,
I didn't try it in VBScript but doing it in VB6.
Following is the code. Make sure that ,
1. You have define ODBC DSN. In following example it is 'pubs'.
2. You should check Microsoft Data Objects 2.x Library in Project Referecnes. (I am using 2.6).
I hope it may give you some hint...
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.