I have a command button on a form that I only want to enable when the value of one of the text fields is not null (has data) and want the button to be disabled when the text field has no data. For some reason, the code does not seem to be working; any suggestions?
If IsNull(Me!ApplID) Then
Me.Command4419.Enabled = False
Else
Me.Command4419.Enabled = True
End If
If IsNull(Me!ApplID) Then
Me.Command4419.Enabled = False
Else
Me.Command4419.Enabled = True
End If