You cannot link tables into a Microsoft Access project by using an ODBC Data Source Name (DSN) (287414)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q287414 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
In a Microsoft Access project (ADP), when you try to link to a particular data source when you are using an Open Database Connectivity (ODBC) File Data Source Name (File DSN) connection, you receive the following error message:
This data source contains no visible tables.
WORKAROUND
To work around this behavior, use a Microsoft Office database connection as follows:
- Open NorthwindCS.adp (or any other .adp file).
- On the File menu, point to Get External Data, and then click Link Tables to start the Link Table wizard.
- Click Linked Server, and then click Next.
- Click +Connect to New Data Source.odc, and then click Open to start the Data Connection Wizard.
- In the Data Connection Wizard, click Other/Advanced, and then click Next to open the Data Link Properties dialog box.
- On the Provider tab, click Microsoft JET 4.0 OLE DB Provider, and then click Next.
- On the Connection tab under Select or enter a database name, browse to and select the Northwind (.mdb) sample database file.
- Click OK to close the Data Link Properties dialog box.
- In the Select Database and Table dialog box, click Next.
- Note the name of the Office Database Connection (.odc) file that is created, and then click Finish to start the Link Table Wizard.
- In the Link Table Wizard, select the Customers table from the Available Tables list, and add it to the Link To Project list. Click Next, and then click Finish. This creates a linked view in your Access project.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 6/7/2004 |
---|
Keywords: | kberrmsg kbbug kbnofix KB287414 |
---|
|