Forum Discussion
googleid_108119
10 years agoOccasional Contributor
Thanks Alex
Even I feel the installaion of 32 bit DRIVEr is must.
But in other case how would I run/configure below LOC within testcomplete script file(.svb) from folder C:\Windows\SysWOW64\odbcad32.exe. It runs from vbs file.
Set objConnection = CreateObject("ADODB.Connection")
DB_CONNECTION_STRING = "Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\NIX Automation\Codebase\DB\DB.mdb;"
objConnection.Open DB_CONNECTION_STRING
Set objCOMPRecSet = CreateObject("ADODB.RecordSet")
objCOMPRecSet.Open "<QUERY>", objConnection
Even I feel the installaion of 32 bit DRIVEr is must.
But in other case how would I run/configure below LOC within testcomplete script file(.svb) from folder C:\Windows\SysWOW64\odbcad32.exe. It runs from vbs file.
Set objConnection = CreateObject("ADODB.Connection")
DB_CONNECTION_STRING = "Driver={Microsoft Access Driver (*.mdb)};DBQ=D:\NIX Automation\Codebase\DB\DB.mdb;"
objConnection.Open DB_CONNECTION_STRING
Set objCOMPRecSet = CreateObject("ADODB.RecordSet")
objCOMPRecSet.Open "<QUERY>", objConnection