The start of ANY SQL query within AUTOIT starts with the connection, and that's my problem. It NEVER works.
Global $adCN
$adCN = ObjCreate("ADODB.Connection")
$DSN = "DRIVER={SQL Server};SERVER=xxx;DATABASE=xxx;UID=xxx;PWD=xxx;"
$adCN.Open($DSN)
NEVER works for me.
I put in the right data in the fields above and get this no matter what I do..
Y:\AutoIT\SQL Test\sqltest.au3 (12) : ==> The requested action with this object has failed.:
$adCN.Open($DSN)
$adCN.Open($DSN)^ ERROR
The data is all correct and I'm running Scite ON the MDB server. So? It's Win Server 2008, SQL 2005,
Global $adCN
$adCN = ObjCreate("ADODB.Connection")
$DSN = "DRIVER={SQL Server};SERVER=xxx;DATABASE=xxx;UID=xxx;PWD=xxx;"
$adCN.Open($DSN)
NEVER works for me.
I put in the right data in the fields above and get this no matter what I do..
Y:\AutoIT\SQL Test\sqltest.au3 (12) : ==> The requested action with this object has failed.:
$adCN.Open($DSN)
$adCN.Open($DSN)^ ERROR
The data is all correct and I'm running Scite ON the MDB server. So? It's Win Server 2008, SQL 2005,