The information in this article applies to:
SYMPTOMSAn assertion failure occurs when using RFX_Text() with a column of type SQL_VARCHAR that has a column width greater than 255 bytes. CAUSEThe column width for a column with SQL type of SQL_VARCHAR is usually less than 256 bytes. The ASSERT on line 1747 is verifying that the column width is less than 256 bytes unless the column type is SQL_LONGVARCHAR or SQL_LONGBINARY. However some drivers implement SQL_VARCHAR type columns that allow more than 255 bytes; in which case, the assertion is not valid. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ versions 1.52 and 2.1. RESOLUTION
The problem occurs in the function CFieldExchange::GetColumnType(). Because
this function is not virtual, there is no easy workaround.
Additional query words: 1.50 2.00 2.50 2.51 3.00 ORACLE
Keywords : kbDatabase kbMFC kbODBC kbVC |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |