Hello,
i have a form with a Boolean Box on it. I want the user to confirm the change of the value before updating the database.
I have this now:
Private Sub History_BeforeUpdate(Cancel As Integer)
If MsgBox("Change History status?", vbOKCancel, "History"= vbCancel Then
Me.History.Undo
End If
End Sub
This does not work. I get the Popup but the Undo does not work.. Any suggestions?
Regards,
Njitter
---
It's never too late to do the Right thing
i have a form with a Boolean Box on it. I want the user to confirm the change of the value before updating the database.
I have this now:
Private Sub History_BeforeUpdate(Cancel As Integer)
If MsgBox("Change History status?", vbOKCancel, "History"= vbCancel Then
Me.History.Undo
End If
End Sub
This does not work. I get the Popup but the Undo does not work.. Any suggestions?
Regards,
Njitter
---
It's never too late to do the Right thing