Undo Button

  • Thread starter Thread starter HOSPITAL
  • Start date Start date
H

HOSPITAL

I have a form with multiple Text Boxes and Combo Boxes
and need a good way to put an undo button on the form
so it erases or undoes the last Boxes change only. If
I use the toolbar Undo Button it undoes the whole record.
Help!
 
HOSPITAL said:
I have a form with multiple Text Boxes and Combo Boxes
and need a good way to put an undo button on the form
so it erases or undoes the last Boxes change only. If
I use the toolbar Undo Button it undoes the whole record.


Why not just use the Windows standard Esc key? Hit it once
and it undoes the current control, twice undoes all the
changes to the currrent record.

If you feel you must use a button, then you can use

Screen.PreviousControl = Screen.PreviousControl.OldValue
 
-----Original Message-----
record.


Why not just use the Windows standard Esc key? Hit it once
and it undoes the current control, twice undoes all the
changes to the currrent record.

If you feel you must use a button, then you can use

Screen.PreviousControl = Screen.PreviousControl.OldValue

Many Thanks! I was hoping it would be something easy.
The more I learn. The more I realize I know very little!
Signed,
Forever a Novice
 
Back
Top