Question Edit Record Form

Core

Registered User.
Local time
Today, 08:09
Joined
May 27, 2008
Messages
79
Hello,

I have a form that opens up a record for the user to view and edit. I would like the form to have a save and cancel button. The save button is fairly simple, save the record and close the form.

I have struggling with the cancel button vba though. I want it to first, discount any changes, and then close the form. So the record is left in its original state.

Is there a command I am not seeing? or would this process need to be coded in manually? if so how would I go about that?

Many thanks for any assistance provided.
 
Okay I found the solution.

For anyone thats interested:
Code:
DoCmd.RunCommand acCmdUndo
 

Users who are viewing this thread

Back
Top Bottom