Hi,
I am using this code to display a message when a required data entry field is left empty on a data entry form. It is not working though. Any help you can provide is greatly appriecated, thank you.
Private Sub Form_AfterUpdate()
If IsNull(Me.Last_Name) Or IsNull(Me.First_Name) Or IsNull(Me.Date) Then
MsgBox "Please enter Last Name, First Name and Date before saving this record! "
Cancel = True
End If
End Sub