How to control saving a new record (1 Viewer)

Tariqzkh

New member
Local time
Today, 03:03
Joined
Sep 6, 2007
Messages
1
Dear all,

I have a form were I need the user to choose between two buttons to either save or cancel the filled record details.

I don't have that much experience with coding so hope to get your help.
 

Velosai

Registered Headache Cause
Local time
Today, 00:03
Joined
Aug 3, 2007
Messages
38
If you create two command buttons, on the save one, you just close the form normally or whatever you wish to do, then on the other one, you use DoCmd.SendKeys {Esc}{Esc} then it will cancel the changes carried out on that record.
 
R

Rich

Guest
Me.Undo is preferable over send keys
 

Users who are viewing this thread

Top Bottom