Cancel button

M

Maz Ten

I would like to put a button on a form that will cancel the last entries.
A button which acts the same as my Esc Key.

How can I do this please?.

Thanks in anticipation to anyone who can help me

Maz T
 
A

Allen Browne

Easy enough to program a command button that undoes the changes to the
current record:
Me.Undo

However, that will not work for undoing the current control, since it will
be validated before focus moves to the command button. What's wrong with the
Undo button on the toolbar?
 

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

Similar Threads

Modify Message Box Cancel Button 6
Cancel Edits in form 1
Access won't minimise 1
Esc Key 1
Dialog: Cancel button / esc key (Windows forms) 7
Cancel Button 1
Cancel button 3
"Cancel" buttons 3

Top