Clear Form, Reset Form, Send Keys

  • Thread starter Thread starter B F Cole
  • Start date Start date
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
 
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
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top