Freetutes.com

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

Sponsored Links

Canceling Pending Editing Changes on Bound Controls

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

<< Previous | Contents | Next >>

 

 

Home | Link to Us | Partner Links | About Us | Contact Us
Copyright © 2007-2008 Freetutes.com | All Rights Reserved