ACC2002: Cannot Use TransferDatabase Action to Link in an Access Project (275092)
The information in this article applies to:
This article was previously published under Q275092 Moderate: Requires basic macro, coding, and interoperability
skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS If you use the TransferDatabase action to try to link an external data source in an Access
project (ADP), you receive the following error message:
Links can only be created between Microsoft Access database files.
RESOLUTION You can use the Link Table Wizard to link external OLE DB data sources that use views. For an
example of how to do so, follow these steps:
- Open the sample Access project NorthwindCS.adp.
- On the File menu, point to Get External Data, and then click Link Tables.
- Select either Linked Server or Transact SQL to define which type of link you want to create, and then click Next.
NOTE: Linked Server creates an updateable view; Transact SQL creates a read-only view. - Click +Connect to New Data Source in the Select Data Source dialog box, and then click Open.
- In the Data Connection Wizard dialog box, click the Other/Advanced data source, and then click Next.
- Click Microsoft Jet 4.0 OLE DB Provider, and then click Next.
- Browse to the Northwind.mdb sample Jet database, which by
default is installed in the \Program Files\Microsoft Office\Office10\Samples
folder, and then click OK.
- In the Data Connection Wizard - Choose Data dialog box, click Next, and then click Finish.
- When the Link Table Wizard appears, click Table: Categories, and then click the > button to add the table to the Link to Project list. Click Next, and then click Finish.
- In the Database window, click Queries under Objects, and note the new view named Northwind_Categories.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kbbug kberrmsg kbpending KB275092 |
---|
|