Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I save a record before it is changed?

Status
Not open for further replies.

spoiledbrat

Programmer
Jan 1, 2001
4
US
I am attemtping to save a record before it is changed. I have managed to prompt the user with a message box and if they choose yes, the record is saved to a table and then the code returns back to the form using the "On Dirty" command, however, I am having trouble writing the code if they select no. If they select no, they are still able to change the record without it first being saved. I have thought about writing some code to have the form Lose Focus and then return so that it seems as if they are just opening the form, but is there a simpler way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top