Program Undo 
Author Message
 Program Undo

Dear MVP

I have to program (in VBA) following functions:
  A: How to undo changes in the current field (ESC once)
  B: How to undo changes in the current record (ESC twice)

I can not use the Cancel method in the BeforeUpdate events.

Tanks,
Unnur



Sat, 17 Sep 2005 23:39:19 GMT  
 Program Undo
see .Undo method in online help

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com


Quote:
> Dear MVP

> I have to program (in VBA) following functions:
>   A: How to undo changes in the current field (ESC once)
>   B: How to undo changes in the current record (ESC twice)

> I can not use the Cancel method in the BeforeUpdate events.

> Tanks,
> Unnur



Sun, 18 Sep 2005 00:25:20 GMT  
 Program Undo
You can also use:

SendKeys {ESC}
SendKeys {ESC}{ESC}

Quote:
>-----Original Message-----
>Dear MVP

>I have to program (in VBA) following functions:
>  A: How to undo changes in the current field (ESC once)
>  B: How to undo changes in the current record (ESC twice)

>I can not use the Cancel method in the BeforeUpdate
events.

>Tanks,
>Unnur
>.



Sun, 18 Sep 2005 00:38:03 GMT  
 Program Undo
Use me.Undo instead of Cancel in BeforeUpdate.
Quote:

> Dear MVP

> I have to program (in VBA) following functions:
>   A: How to undo changes in the current field (ESC once)
>   B: How to undo changes in the current record (ESC twice)

> I can not use the Cancel method in the BeforeUpdate events.

> Tanks,
> Unnur



Tue, 20 Sep 2005 02:30:09 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Selective Undo from the Undo List

2. How Can I Make My program start when Windows starts and Undo It

3. Multilevel undo in VB programs

4. Undo

5. Undo in On Error event

6. Undo last action

7. help required with Undo butten events

8. Creating a custom Undo solution?

9. Way to undo changes at a table level?

10. Undo function

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

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

 

 
Powered by phpBB® Forum Software