I have a form in Access that displays employee information. One of the fields on the form is a ComboBox called ReportsTo.
I'd like to create a macro that says if this particular field is blank, an error message should pop up.
I've tried a number of differed 'If' statements, but can't get anything to work.
Private Sub Form_AfterUpdate()
If Len([Forms]![Employee Form]![ReportsTo]) = 0 Then
MsgBox "Error on this field"
End If
End Sub