Don't update

J

Jim

After a text box is updated on a form I want to pop a
message box confirming the change. Got that working, but
if the user says No to the update I need the box to revert
back to the original entry. Should be easy, but I can't
get it to work. Any help would be appreciated, thanks.
 
R

Rick Brandt

Jim said:
After a text box is updated on a form I want to pop a
message box confirming the change. Got that working, but
if the user says No to the update I need the box to revert
back to the original entry. Should be easy, but I can't
get it to work. Any help would be appreciated, thanks.

Me!NameOfControl.Undo
 
R

Rick Brandt

All such validation should be done in the BeforeUpdate event for the
control because that one can be cancelled to prevent the update (rather
than trying to change the entry back after it is updated).
 

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

Top