Ok. I found this post, and it is exactly what I was looking for. One problem, it isnt working. I have a tab control. On open of the form, I have controls set invisible, so that all you see is the tab control, and 1 option group. When you make a choice on the option group, another shows. When you make a choice on that, a button shows and you can view the report u just chose.
If the person clicks the other page of the tab control, I need to reset the option groups and the button so that nothing is chosen and they go invisible again.
this code:
Private Sub PgDetail_Click()
FrmStatGroup = -1
FrmStatType = 0
End Sub
isnt doing it. I tried 1 with -1 and 1 with 0. I have tried a bunch of things, and nothing is working. Can someone please help?
Thanks.
misscrf
It is never too late to become what you could have been ~ George Eliot