Solved

Undo changes using ADODC

Posted on 1999-01-20
2
199 Views
Last Modified: 2013-12-25
I want to enable undoing of all changes to bound controls on a form. I believe the UpdateControls method would accomplish this but there is no UpdateControls method for ADODC.  How do I do this?
0
Comment
Question by:adamsp
2 Comments
 

Accepted Solution

by:
omrire earned 50 total points
ID: 1499245
In order to cancel updates you can use a updateBatch lock type of the ado recordset.
When you are opening a Ado Recordset with this type you update the data to the database only when you invoke the updateBatch Method and you can use the CancelBatch Method to undo the changes.

0
 

Author Comment

by:adamsp
ID: 1499246
The answer addresses how to cancel and update, so far so good. However, the answer says nothing about how to Undo any changes the user may have made to the controls on the form.  Also, is there some reason why the CancelUpdate method does not apply?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now