Maleficent
Registered User.
- Local time
- Today, 08:38
- Joined
- Oct 25, 2016
- Messages
- 21
I have a user form and want a label and text box to appear subject to the answer of a combo box
so if the answer selected in the combo box is "Other" a label and text box will appear for the user to add in additional information
i found code online but it isn't working:
I've tried this "on current" and "change" events too but no luck
I have also tried setting the field's properties to both visible and not visible in the property settings
where am i going wrong?
Thanks
so if the answer selected in the combo box is "Other" a label and text box will appear for the user to add in additional information
i found code online but it isn't working:
Code:
Private Sub txtRootCause_AfterUpdate()
If Me.txtRootCause.Value = "Other" Then
Me.lblOther.Visible = True
Me.txtOther.Visible = True
Else
Me.lblOther.Visible = False
Me.txtOther.Visible = False
End If
End Sub
I've tried this "on current" and "change" events too but no luck
I have also tried setting the field's properties to both visible and not visible in the property settings
where am i going wrong?
Thanks