The information in this article applies to:
SYMPTOMS
When using the OLEDB provider for ODBC, numeric data types returned from the database are returned with the trailing zeros to the left of the decimal place truncated. CAUSEThis data truncation is a result of a problem with the translation of the ODBC data type to its equivalent OLEDB data type. This problem occurs when the ODBC driver being used returns a negative value for the scale element of the SQL_C_NUMERIC structure. RESOLUTIONThis has been confirmed to be a bug in the MDAC components. There is a fix for this problem which is discussed in the STATUS section of this article. In addition to this fix, there are several other workarounds to this problem:
STATUSThis problem has been fixed in Microsoft ActiveX Data Objects versions 2.5 and later. REFERENCESFor additional information, click the article number below to view the article in the Microsoft Knowledge Base: Q195470 PRB: MDAC 2.0 ODBC Requirements for Numeric FieldsODBC 3.0 Programmer's Reference Additional query words:
Keywords : kb3rdparty kbDatabase kbMDAC kbOLEDB kbOLEDB210bug kbOLEDB210fix kbGrpASP kbDSupport kbMDAC210SP2fix |
Last Reviewed: January 21, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |