TeriCoombes
Technical User
I have a form that requires the user to select a test name and their name before enabling a command button that allows them to enter data. However, I can go to the form, delete the name, and still have the command button enabled. How do I disable it when the selection is null? Here is my code so far:
Private Sub cboAnalyst_Change()
cmdLogIn.Enabled = True
End Sub
I have tried inserting an if...then...else statement, but that just causes problems and I have to debug.
Private Sub cboAnalyst_Change()
cmdLogIn.Enabled = True
End Sub
I have tried inserting an if...then...else statement, but that just causes problems and I have to debug.