T
TJEngel
Newbie here!
So, I have been able to use the following code on a List Box in a form to
enable a text box when the List Box option "Other" is selected:
Private Sub FollowUp_AfterUpdate()
If Me!FollowUp = 5 Then
Me.Text53.Enabled = True
Else
Me.Text53.Enabled = False
Me.Text53.Value = ""
End If
End Sub
On this same form, I also have a MultiSelect List Box, also with an "Other"
option, and I would also like to enable/disable a text box if the user
selects this "Other" option. However, running "AfterUpdate" with similar
code doesn't seem to be working, and I would guess that it has something to
do with the fact that this is a MultiSelect List Box. Yes?
If so, is there code that will allow me to enable the text box when "Other"
is selected?
So, I have been able to use the following code on a List Box in a form to
enable a text box when the List Box option "Other" is selected:
Private Sub FollowUp_AfterUpdate()
If Me!FollowUp = 5 Then
Me.Text53.Enabled = True
Else
Me.Text53.Enabled = False
Me.Text53.Value = ""
End If
End Sub
On this same form, I also have a MultiSelect List Box, also with an "Other"
option, and I would also like to enable/disable a text box if the user
selects this "Other" option. However, running "AfterUpdate" with similar
code doesn't seem to be working, and I would guess that it has something to
do with the fact that this is a MultiSelect List Box. Yes?
If so, is there code that will allow me to enable the text box when "Other"
is selected?