Returning controls to their Original values

T

trekgoes2malaysia

In a control on one of my forms, if a user tries to enter values that
already exist in the data table (duplicates) , I have a messagebox
appear telling them the record already exists. My problem is
thereafter, I want Access to return to the original values that were
present in the control before the user tried to enter different ones.
How can I do this?
 
S

Stuart McCall

In a control on one of my forms, if a user tries to enter values that
already exist in the data table (duplicates) , I have a messagebox
appear telling them the record already exists. My problem is
thereafter, I want Access to return to the original values that were
present in the control before the user tried to enter different ones.
How can I do this?

Nice and easy: Me.Undo
 

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