But I don't have an extra "end if" in my code.
Here's what I have: (The below bolded code happens to also be highlighted in the code debugger).
Private Sub Diagnosis_combobox_AfterUpdate()
If Me!Diagnosis_combobox = "Other" Then Me![Other_Diagnosis].Visible = True Else...
Ok. I've been wrestling with what seems like very simple VBA code and I'm still having problems with hiding controls in my form.
In my Form, I have a combo box "Diagnosis" with several row source selections (value list). One of the selections is "Other".
When "Other" is selected or checked, I...
Thanks. A few more beginner questions: Is Form_Current the same as OnClick in 2007?
Also, when you all use me. before the field name, what is that referring too?
Thank you for your help. Does it matter if the combo box is a check box, i.e. "Other" should be checked in order to make the following text box become visible.
I know this is pretty basic, but I'm having trouble with the VBA coding in my form. I have a field with a combo box. If "other" is checked, I would like a new test box field to appear below it to describe the "other" category. If "Other" is not checked, then I want the text box field hidden in...