HI
in an access subform I have a field called "Contract_of_Reference" to which I applied this VBA code
"Private Sub Agreement_of_Reference_AfterUpdate()
If (Me.Contract_of_Reference <> "") Then
MsgBox "Warning! The Reference Contract field is not empty.", vbExclamation, "Warning"
End If
End Sub"
but it does not work.
But if I apply it to the "Click" event the message box appears.
Could someone help me understand why?
Thank you