What code to cancel changes to a record?

  • Thread starter Thread starter Kjell Harnesk
  • Start date Start date
K

Kjell Harnesk

Hi!

I want a button to do what the escape-key does to a record that is edited,
ie cancel the changes made to the record before changes are saved. Whatb is
the code for such a button?
 
Kjell Harnesk said:
Hi!

I want a button to do what the escape-key does to a record that is edited,
ie cancel the changes made to the record before changes are saved. Whatb is
the code for such a button?

May be:

Private Sub cmdUndo_Click()
Me.Undo
End Sub

Hope this help.
 
Back
Top