FIX: Importing Text File Without Schema.ini Can Cause Text Column to Be Defined as Currency (254002)
The information in this article applies to:
- Microsoft Access 2000
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q254002 SYMPTOMS
When importing a text file into a Microsoft Jet database through a Microsoft SQL statement or the Microsoft Access TransferText macro command when there is no Schema.ini file present, the Jet engine can sometimes interpret a column with Text data as Currency.
CAUSE
The Microsoft Jet database engine examines the column for currency formatting symbols.
RESOLUTION
To resolve this problem, use one of the following methods:
- Upgrade to Microsoft Jet 4.0 SP4.
- Use the Access 2000 Import Wizard.
- Create a Schema.ini file, which can contain a list of data types for each column in the text file.
STATUS
This bug has been fixed in Microsoft Jet 4.0 SP4.
REFERENCES
The following sources provide more information on the SCHEMA.INI file:
155512 ACC: How to Create a Schema.ini File Programmatically
The Microsoft Jet Database Engine Programmer's Guide, "Accessing External Data"
Modification Type: | Minor | Last Reviewed: | 7/14/2004 |
---|
Keywords: | kbBug kbfix kbIISAM kbJET KB254002 |
---|
|