Message box problem
Posted on 2006-10-31
I have a message box that is activated on the Before Update event of a field. When a user edits the field I want them to stop and think whether their action is correct. The message box has a Save and a Cancel button but when you click Cancel, the field has still changed to the new value.
The On Click event of the Save button is
DoCmd.GoToRecord , , acNewRec
The On Click event of the Cancel button is
' This code created by Command Button Wizard.
On Error GoTo Err_Cancel_Click
' Close form.