ACC2000: Exporting Currency to Visual FoxPro Produces Double Data Type (241470)
The information in this article applies to:
This article was previously published under Q241470 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you use the Microsoft Visual FoxPro ODBC driver in Microsoft Access 2000 to export a table that contains a field with the data type of Currency, the Currency data type is created as a Double data type in the exported Visual FoxPro table.
RESOLUTION
You can use an SQL pass-through query to change the column in the table. The following statement changes the data type of the column to Currency. The letter "Y" in the following syntax is used to denote the Currency data type.
ALTER TABLE tbTestFox ALTER COLUMN Price Y NOTE: When you view the table structure in Visual FoxPro, note that the data type is Currency. However, when you link the table in Access, the column data type is Number and the field size is Decimal.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/29/2000 |
---|
Keywords: | kbbug KB241470 |
---|
|