G
Guest
I have a combo box on my main form that is used to hide/unhide certain
controls on my subform. For example when I choose "1" from the combo box it
hides "field1" and only makes "field2" visible. When I make a choice from
this combo box I get an error message that says
Run-Time error '2165':
You can't hide a control that has the focus
When I click on the debug it highlights a line in my "IF" statement.
Me![frmToleranceChart]![E1].Visible = False
How does this field have the control?
controls on my subform. For example when I choose "1" from the combo box it
hides "field1" and only makes "field2" visible. When I make a choice from
this combo box I get an error message that says
Run-Time error '2165':
You can't hide a control that has the focus
When I click on the debug it highlights a line in my "IF" statement.
Me![frmToleranceChart]![E1].Visible = False
How does this field have the control?