The information in this article applies to:
SUMMARYThis article demonstrates how to programmatically use Data Links feature of the Microsoft Data Access Components in order to generate a connection string at run-time. MORE INFORMATION
In version 2.0 of the Microsoft Data Access Components, Data Links were introduced. Data Link files are similar to ODBC DSN files, but allow you to select an OLE DB provider to connect to your database. With the OLE DB Provider for ODBC drivers, you can also connect to an ODBC data source.
When you click the CommandButton, you will see the Data Links property pages. Once you have specified how you want to connect to your database and click the OK button, you'll see the connection string in a dialog box. REFERENCES
For additional information about data links, please see the following
article in the Microsoft Knowledge Base: © Microsoft Corporation 1999, All Rights Reserved. Additional query words: datalink
Keywords : kbADO200 kbADO210 kbMDAC kbOLEDB200 kbVBp500 kbVBp600 kbGrpVB |
Last Reviewed: February 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |