Paul Cooke
Registered User.
- Local time
- Today, 05:21
- Joined
- Oct 12, 2001
- Messages
- 288
Hi guys,
could someone point me in the right direction please as I can't seem to work this out !
I have a Combo Box "cboNumber" that contains a value list "1";"2";"3"
I have an event set up on the AfterUpdate to check what number is chosen from the value list
What is supposed to happen is that if a user selects 2 from the combo box the text control "NumberOther" becomes enabled and the user can input data.
What is actually happening is that the NumberOther control IS enabling If I select "2" but #Name? keeps coming up in it and I can't seem to enter any data
I'm lost where to look next to work out what is going wrong - any ideas??
Many thanks
could someone point me in the right direction please as I can't seem to work this out !
I have a Combo Box "cboNumber" that contains a value list "1";"2";"3"
I have an event set up on the AfterUpdate to check what number is chosen from the value list
Code:
Private Sub cboNumber_AfterUpdate()
If Me.cboNumber = "2" Then
Me.NumberOther.Enabled = True
Else
Me.NumberOther.Enabled = False
End If
What is supposed to happen is that if a user selects 2 from the combo box the text control "NumberOther" becomes enabled and the user can input data.
What is actually happening is that the NumberOther control IS enabling If I select "2" but #Name? keeps coming up in it and I can't seem to enter any data
I'm lost where to look next to work out what is going wrong - any ideas??
Many thanks