Private Sub Form_BeforeUpdate(Cancel As Integer)
Dim ctrl As Control
For Each ctrl In Me.Controls
If TypeOf ctrl Is TextBox Then
If ctrl.OldValue <> ctrl.Value Then
MsgBox "For " & ctrl.Name & " Old Value is " & ctrl.OldValue & " and New Value is " & ctrl.Value
End If
End If
Next
If MsgBox("Do You Want To Save This Record as Is?", vbYesNo) = vbNo Then
Cancel = True
End If
End Sub