G
Gnerks
I have a form that has 10 toggle buttons, within an option group. Each
toggle button opens a specific report, based on a unit selected via a
checkbox. For example, the code for one of the toggle buttons is:
If opgREPORTOPTIONS.Value = "1" And opgSQUADRONS.Value = "1" Then
DoCmd.RunMacro "mac1MRSAllProjects", 1
This works, brings up the report in print preview and all. However, once
the report is closed, the toggle button is still in its "depressed" state.
What I am looking for is the code necessary that when the report is closed -
the toggle button state returns to not selected or false.
From the Report_Close event, I can get back to the forms page, but just
can't figure out what will trigger the button state to not selected.
toggle button opens a specific report, based on a unit selected via a
checkbox. For example, the code for one of the toggle buttons is:
If opgREPORTOPTIONS.Value = "1" And opgSQUADRONS.Value = "1" Then
DoCmd.RunMacro "mac1MRSAllProjects", 1
This works, brings up the report in print preview and all. However, once
the report is closed, the toggle button is still in its "depressed" state.
What I am looking for is the code necessary that when the report is closed -
the toggle button state returns to not selected or false.
From the Report_Close event, I can get back to the forms page, but just
can't figure out what will trigger the button state to not selected.