Type Conversion Failure Occurs When Importing Microsoft Excel Data (109376)
The information in this article applies to:
- Microsoft Access 97
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Excel for Windows 95
This article was previously published under Q109376 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you import a Microsoft Excel spreadsheet to a new table or to an existing table in a Microsoft Access database, you may receive the following error message:
"Type
Conversion Failure."
CAUSE
When you import a Microsoft Excel spreadsheet to a new or existing table, Microsoft
Access checks the first row of the spreadsheet to determine the data
types for the table. If the first row of the spreadsheet contains a
numeric value in a column that allows alphabetical and numeric characters,
Microsoft Access defines the field type in the table for that column
as numeric. This is also true even if the field in the existing table is defined as text. It will not change the data type of the field, but it will cause errors during the import process. If there are alphabetical characters in other rows in this
column in the spreadsheet, this error message occurs.
RESOLUTION
To work around this behavior, insert an extra row of data as the first
row in the spreadsheet. Insert alphabetical characters in any columns that
are defined as alphanumeric columns. Enter numeric characters in any
columns that are defined as numeric columns. After you have imported the
spreadsheet into Microsoft Access, delete the extra row of data from the
spreadsheet and the table.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbinterop kbprb KB109376 |
---|
|