I am trying to reset my entire form with a reset button, which will reset all the list boxes, the option group etc. how can this be done? I have figured everything out but how to reset the option group option buttons.
I get an invalid use of property when I do that. The control is not linked to anything.
I have two option buttons within a group called FRAOPTIONS. each option button is : blnfixed and blnrange
When I click on the reset button on the form I want to clear what was selected on either optoin button, only one will be selected, but I do not which at the time so I will need to clear both.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.