You cannot connect directly to FoxPro databases in Access 2003 (824264)
The information in this article applies to:
- Microsoft Office Access 2003
This
article applies only to a Microsoft Access database (.mdb).
Moderate: Requires basic macro, coding, and interoperability
skills.
For a Microsoft Access 2002 version of this article,
see
286224. For a Microsoft Access 2000 version of this article,
see
225861. SYMPTOMSIn Microsoft Office Access 2003, you may not be able to
import, export, or link to Microsoft FoxPro databases directly because the
Import, Export, and Link
dialog boxes do not include the FoxPro database as an option in the
Files of type list. CAUSEThis problem occurs because the Microsoft FoxPro ISAM driver
is not included in Access 2003. RESOLUTIONImport from a FoxPro
DatabaseTo import data from a FoxPro database, use the Microsoft Visual
FoxPro ODBC driver. To do so, follow these steps:
- Click Start, and then click
Control Panel.
- In Control Panel, double-click
Administrative Tools.
- In the Administrative Tools window,
double-click Data Sources (ODBC), and then add a new ODBC data
source for your FoxPro database or tables by selecting the appropriate Visual
FoxPro driver.
- Start Access 2003, and then open your Access
database.
- On the File menu, point to Get
External Data, and then click Import.
- In the Import dialog box, click
ODBC Databases in the Files of type list.
- In the Select Data Source dialog box,
click the Visual FoxPro data source that you created in step 3, and then click
OK.
- In the Import Objects dialog box, click
the tables that you want to import, and then click OK.
Link to a FoxPro
DatabaseTo link to a FoxPro database, use the Microsoft Visual FoxPro ODBC
driver. To do so, follow these steps:
- Click Start, and then click
Control Panel.
- In Control Panel, double-click
Administrative Tools.
- In the Administrative Tools window,
double-click Data Sources (ODBC), and then add a new ODBC data
source for your FoxPro database or tables by selecting the appropriate Visual
FoxPro driver.
- Start Microsoft Access, and then open your Access
database.
- On the File menu, point to Get
External Data, and then click Link Tables.
- In the Link dialog box, click ODBC
Databases in the Files of type list.
- In the Select Data Source dialog box,
click the Visual FoxPro data source that you created in step 3, and then click
OK.
- In the Link Tables dialog box, click the
tables that you want to import, and then click OK.
Export to a FoxPro
DatabaseTo export data to a FoxPro database, use the Microsoft Visual
FoxPro ODBC driver. To do so, follow these steps:
- Click Start, and then click
Control Panel.
- In Control Panel, double-click
Administrative Tools.
- In the Administrative Tools window,
double-click Data Sources (ODBC), and then add a new ODBC data
source for your FoxPro database or tables by selecting the appropriate Visual
FoxPro driver.
- Start Microsoft Access, and then open your Access
database.
- On the File menu, click
Export.
- In the Export Table
'<tablename>' To... dialog box, click
ODBC Databases in the Save as type list.
- In the Export dialog box, type the name of
the new table, and then click OK.
- In the Select Data Source dialog box,
click the Visual FoxPro data source that you created in step 3, and then click
OK.
REFERENCES For more information about how
to set up ODBC data sources, click Microsoft Access Help on
the Help menu, type set up or change ODBC data
sources in the Search for box in the Assistance
pane, and then click Start searching to view the topic.
Modification Type: | Major | Last Reviewed: | 6/23/2004 |
---|
Keywords: | kberrmsg kbDriver kbImport kbExport kbprb KB824264 kbAudDeveloper |
---|
|