C
Céline Brien
Hi everybody,
In a form, some new utilisators forget to press the search button before
typing. So they modify the contain of the field without even realizing it.
I would like to notify them with a message box, and give them two options.
Something like this :
----------
Private Sub FamilyName_AfterUpdate()
If MsgBox "Do you really want to modify the FamilyName ?", vbYesNo +
vbExclamation + vbDefaultButton2, "Modification of the family name" = VbNo
Then
Cancel edition of family name, not cancel update of recordset, just
edition of family name
Else
Just keep on the work without update of recordset
End Sub
In a form, some new utilisators forget to press the search button before
typing. So they modify the contain of the field without even realizing it.
I would like to notify them with a message box, and give them two options.
Something like this :
----------
Private Sub FamilyName_AfterUpdate()
If MsgBox "Do you really want to modify the FamilyName ?", vbYesNo +
vbExclamation + vbDefaultButton2, "Modification of the family name" = VbNo
Then
Cancel edition of family name, not cancel update of recordset, just
edition of family name
Else
Just keep on the work without update of recordset
End Sub