Hi,
I want a text box on my form to only be enabled when a certain value is selected from a drop down box that is located on the form. I would tried to place the code in the After_Update Event for the dropdown box to do this but I already have a Macro there that performs a different function. I tried placing the code in the Lost_Focus Event but it doesn't work. The code is as follows:
If Me!cboActivity.Value = "Community Outreach Event" Then
Number.Enabled = True
Else
Number.Enabled = False
End If
Do I need to place this in another Event besides LostFocus? I would appreciate any help on this.
I want a text box on my form to only be enabled when a certain value is selected from a drop down box that is located on the form. I would tried to place the code in the After_Update Event for the dropdown box to do this but I already have a Macro there that performs a different function. I tried placing the code in the Lost_Focus Event but it doesn't work. The code is as follows:
If Me!cboActivity.Value = "Community Outreach Event" Then
Number.Enabled = True
Else
Number.Enabled = False
End If
Do I need to place this in another Event besides LostFocus? I would appreciate any help on this.