ID: Q120512
1.50 WINDOWS kbprg kbfixlist kbbuglist
The information in this article applies to:
When 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.
This 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:
To work around the problem, use one of these techniques:
Microsoft 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.
For 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 KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: MfcDatabase
Keywords : kb16bitonly kbDatabase kbMFC kbODBC kbVC kbbuglist kbfixlist
Version : 1.50
Platform : WINDOWS
Solution Type : kbfix
Last Reviewed: September 21, 1997