Remember that ODBC and SQLOLEDB (I'm not sure about UniObjects) are not links to a database. Think of them as bridges to your data. ADO is a link that you can code with and manipulate. ADO will use the ODBC bridge to find and access your data.
To open a connection to your data through ADO via ODBC use the following code;
Dim CONN As New ADODB.Connection
CONN.ConnectionString = "Provider=MSDASQL;DSN=MyODBC"
CONN.Open
Thanks and Good Luck!
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.