Undo last action 
Author Message
 Undo last action

How do I undo the last change on an edited record on a
form.  the property setting "Undo" basically restores the
record to the last save.  I want to undo only the last
action.  For example, a user changes two fields on a
record, I want the last field change to be undone only.  
This can be done via user interface using Ctrl Z or the
undo menu selection but I would like to do it
programatically in VBA.

Thanks



Sat, 02 Apr 2005 10:32:29 GMT  
 Undo last action
If the update of the Control has not occurred, you can undo this using:

Screen.ActiveControl.Undo

Check Access VB Help on ActiveControl.

--
HTH
Van T. Dinh
MVP (Access)


Quote:
> How do I undo the last change on an edited record on a
> form.  the property setting "Undo" basically restores the
> record to the last save.  I want to undo only the last
> action.  For example, a user changes two fields on a
> record, I want the last field change to be undone only.
> This can be done via user interface using Ctrl Z or the
> undo menu selection but I would like to do it
> programatically in VBA.

> Thanks



Sat, 02 Apr 2005 11:27:50 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Visio Undo Actions

2. Can you undo the last change to a datagrid

3. how to detect how long without any input since last input action

4. how to detect how long without any input since last input action

5. Selective Undo from the Undo List

6. Adding a new Action to the ACTION LIST

7. Identifying the last paragraph mark or last break on a page

8. Change the Last Modify and Last Access date

9. Compare last 7 days to last calendar week V8.5

10. Bound combo box won't let be cancel/undo, continually generating error messages

11. a solution to growing mdb's and how to undo a form with sub-form

12. Undo Record

 

 
Powered by phpBB® Forum Software