User data sources can be used only by the current user and are visible only to that user. There are two types of machine data sources - user and system. You can use machine data sources only on the computer they are defined on. Machine data sources store connection information in the Windows Registry on a specific computer. Install the appropriate ODBC driver on the computer that contains the data source.ĭefine a data source name (DSN) by using either the ODBC Data Source Administrator to store the connection information in the Microsoft Windows registry or a DSN file, or a connect string in Visual Basic code to pass the connection information directly to the ODBC Driver Manager. To connect to these data sources, you must do the following: In Access, you use ODBC data sources to connect to data sources external to Access that do not have built-in drivers. In the ODBC architecture, an application such as Access connects to the ODBC Driver Manager, which in turn uses a specific ODBC driver (for example, Microsoft SQL ODBC driver) to connect to a data source. This information can be obtained from the administrator of the database to which you want to connect. Examples of connection information include server location, database name, logon ID, password, and various ODBC driver options that describe how to connect to the data source. Examples of data sources are SQL Server, Oracle RDBMS, a spreadsheet, and a text file. In this articleĪ data source is a source of data combined with the connection information that is required to access that data. The procedure steps might vary depending on the specific database products and ODBC drivers used. This article contains general information about ODBC data sources, how to create them, and how to connect to them by using Microsoft Access. Open Database Connectivity (ODBC) is a protocol that you can use to connect a Microsoft Access database to an external data source such as Microsoft SQL Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |