FIX: "No rows were affected by the update or delete operation"Last reviewed: September 18, 1997Article ID: Q120512 |
1.50
WINDOWS
kbprg kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSWhen you use snapshots with the Microsoft Foundation Class Library database classes, the following error message occurs:
Warning: ODBC Success With Info, Warning: 0 rows affected by update operation (expected 1). No rows were affected by the update or delete operation. CAUSEThis message may occur because of a bug in the ODBC cursor library (ODBCCURS.DLL). The cursor library incorrectly handles modifying of fields which have a pre-defined length (such as numeric fields or any field that is not a text field and not a variable length field) in the following scenarios:
RESOLUTIONTo work around the problem, use one of these techniques:
STATUSMicrosoft has confirmed this to be a bug in the ODBC cursor library which is provided with Visual C++ version 1.5. The bug has been fixed with the cursor library (ODBCCURS.DLL) included in Visual C++ version 1.51. The version stamp on the ODBCCURS.DLL with Visual C++ version 1.51 is 2.00.2011. Look at the properties for the file with the File Manager to get the version stamp.
REFERENCESFor more information about the cursor library, see the on-line books in Visual C++ version 1.5 or see Appendix G of the ODBC 2.0 Programmer's Reference (ISBN: 1-55615-658-8).
|
Additional reference words: 1.50 2.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |