Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 8

Canceling Pending Editing Changes on Bound Controls in VB6

You can use the CancelUpdate method of the Recordset to cancel pending changes to the current record so that the changes just made won't be written to the underlying data.

The CancelUpdate method of the Recordset basically cancels a pending edit defined by the AddNew methods or by the user's or the program's changes to contents of fields in the record buffer. If there is no pending edit, CancelUpdate is just ignored.

The CancelUpdate method doesn't move the record pointer. An example of a call to CancelUpdate is this:

adcEmployees.Recordset.CancelUpdate

See Also


  

<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved