The information in this article applies to:
SYMPTOMS
When the ODBC Cursor Library is used to set up a static cursor with a
driver whose asynchronous mode is enabled, it returns duplicate rows
under certain circumstances. These duplicate rows are returned every time
an asynchronous operation with the driver returns SQL_STILL_EXECUTING. The
number of duplicate rows retrieved on subsequent fetches (MoveNext's in
MFC) is variable. Certain conditions can cause as many as 500 consecutive
repetitions of the same record.
WORKAROUNDUsers of MFC database classes can avert this behavior by:
STATUSMicrosoft has confirmed this to be a problem in ODBC Cursor Library version 2.00.1510. This problem has been fixed in the 32-bit version of the ODBC 2.5 Cursor Library (ODBCCR32.DLL, 2.50.3006). The 16-bit cursor library has not been changed. If you are using the 16 bit SQL Server driver, this should not be a problem because you can use the server side cursors in SQL Server version 6.0 and eliminate the need for the cursor library. If you are using the Access driver, you need to use the 32-bit driver and the new 32-bit cursor library. MORE INFORMATION
You can get ODBC 2.50 components from:
Additional query words: 2.00.1510 MFC VISUAL C++ MSVC Windows NT
Keywords : |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |