Clear Form, Reset Form, Send Keys

B

B F Cole

I need to clear or reset a form to its initial open blank position when an
error is detected. I want an action that is equivalent to pressing the
escape key. Is there a simple code solution for this?

Thanks for you suggestions. They have always solved a problem.
Bill
 
R

RoyVidar

I need to clear or reset a form to its initial open blank position
when an error is detected. I want an action that is equivalent to
pressing the escape key. Is there a simple code solution for this?

Thanks for you suggestions. They have always solved a problem.
Bill

Try
Me.Undo
 
M

Marshall Barton

B said:
I need to clear or reset a form to its initial open blank position when an
error is detected. I want an action that is equivalent to pressing the
escape key. Is there a simple code solution for this?


The statement:
Me.Undo
is equivalent to pressing the Esc key twice (which resets a
modified record to its unedited state)
 
Top