ACC2000: Access Option to Import into an Existing Table Is Not Available for Excel Spreadsheet (306135)
The information in this article applies to:
This article was previously published under Q306135 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you try to import a Microsoft Excel spreadsheet that has undefined field names for the records that you are importing, the Import into an Existing Table option is not available in Access.
CAUSE
This issue occurs because Access cannot identify the fields to append to the table fields.
RESOLUTION
To resolve this issue, import the spreadsheet as a new table, and then append the records to the existing table.
Import the spreadsheet as a new table- Open a database, or switch to the Database window for the database that is currently open.
- On the File menu, point to Get External Data, and then click Import.
- In the Files of type box, click Microsoft Excel.
- Browse to the drive and folder where the Excel spreadsheet file is stored, click the file, and then click Import.
- To import the data, follow the on-screen instructions in the Import Spreadsheet Wizard.
Append the records to the existing table- In the database window, click Queries, and then click New.
- In the New Query dialog box, click Design View, and then click OK.
- In the Show Table dialog box, click the Tables tab, and then click your new table.
- Click Add, and then click Close.
- In the table that appears, double-click each of the fields that you want to append to the existing table.
- On the Query menu, click Append Query.
- In the Table Name box, select the name of the existing table where you want to append records.
- If the selected table is in the database that is currently open, click Current Database. Otherwise, click Another Database, and then type the path and name of the database.
- Click OK.
- Select the appropriate fields in the Append To area of the query grid, and then click Run on the toolbar.
- Click Yes in the message about the number of append rows.
- Save and close the query, and then view the table where the records are appended.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbprb KB306135 |
---|
|