How To Undo Updates for a Single Row with CancelBatch (172375)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q172375 For a Microsoft Visual Basic .NET version of this
article, see
310370. SUMMARY The Visual Basic documentation states that the Status
property of an rdoResultset object can be modified to arrange whether the
current row will be updated and if it is updated, how it will be updated. It is
a common desire to set the Status to rdRowUnmodified so that no updates are
made to the current row. However, this is an error in the documentation because
the Status property is read-only and cannot be modified at run-time.
Although less intuitive, undoing changes for the current row of an rdoResultset
object can be accomplished with the CancelBatch method using the optional
parameter, SingleRow.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB172375 |
---|
|