G
Guest
I have written the following code to hide other check boxes depending on
which other one is checked. It also makes a combo box appear which is tied
to a query to supply the list to choose from. The problen is that is only
works for one record. When I switch to the next record the other check boxes
do not come back. Am I missing something here?
Sub Option77_AfterUpdate ()
Me![Options79].Visible = Not Me ! [Option79].Visible
Me![Options81].Visible = Not Me ! [Option81].Visible
Me![Options83].Visible = Not Me ! [Option83].Visible
Me![Combo215].Visible = Not Me ! [Combo215].Visible
Me![Combo217].Visible = Not Me ! [Combo217].Visible
Me![Combo219].Visible = Not Me ! [Combo219].Visible
End Sub
When I go to the next record the other options and combo field stay hidden
instead of starting over. How can I program it to start agian with each new
record?
Thanks for your help!
which other one is checked. It also makes a combo box appear which is tied
to a query to supply the list to choose from. The problen is that is only
works for one record. When I switch to the next record the other check boxes
do not come back. Am I missing something here?
Sub Option77_AfterUpdate ()
Me![Options79].Visible = Not Me ! [Option79].Visible
Me![Options81].Visible = Not Me ! [Option81].Visible
Me![Options83].Visible = Not Me ! [Option83].Visible
Me![Combo215].Visible = Not Me ! [Combo215].Visible
Me![Combo217].Visible = Not Me ! [Combo217].Visible
Me![Combo219].Visible = Not Me ! [Combo219].Visible
End Sub
When I go to the next record the other options and combo field stay hidden
instead of starting over. How can I program it to start agian with each new
record?
Thanks for your help!