A
ATJaguarX
I get the following error message when running the following code:
Private Sub NewAccountNumber_Change()
If Len(Me.NewAccountNumber.text) > 0 Then
cmdAdd.Enabled = True
Else
cmdAdd.Enabled = False
End If
Exit Sub
I do not want to enable the add button until they atleast enter
something into the "NewAccountNumber" field.
I've done research and found people telling me to set focus to the
control. I have tried doing that with no success. Also... why would I
have to set focus on a control, who's event "changed" event has just
fired... it should already have focus.
This makes no sense.
Private Sub NewAccountNumber_Change()
If Len(Me.NewAccountNumber.text) > 0 Then
cmdAdd.Enabled = True
Else
cmdAdd.Enabled = False
End If
Exit Sub
I do not want to enable the add button until they atleast enter
something into the "NewAccountNumber" field.
I've done research and found people telling me to set focus to the
control. I have tried doing that with no success. Also... why would I
have to set focus on a control, who's event "changed" event has just
fired... it should already have focus.
This makes no sense.