I am trying to toggle some controls on a form from visible = True to Visible = False when a use clicks a button. The routine checks to see if the control is currently visible, if so, makes it invisible, and vice versa with the others.
I tried to use a For Each loop, but when it gets to the last button, which will always be visible (and subsequently has the focus) it errors. I can't set the visible property to false on a control that has the focus. How do I tell access to check all but last control?
----
Access 2002 on a mixed Windows OS network.
I tried to use a For Each loop, but when it gets to the last button, which will always be visible (and subsequently has the focus) it errors. I can't set the visible property to false on a control that has the focus. How do I tell access to check all but last control?
----
Access 2002 on a mixed Windows OS network.