oxicottin
Learning by pecking away....
- Local time
- Today, 07:25
- Joined
- Jun 26, 2007
- Messages
- 856
Hello, I'm having an issue moving focus from an option group that has toggle buttons as the options which open forms and reports. The issue is lets say in my example under option 1 you click on it and it hides the frm_Switchboard form and opens Form1, this is great BUT upon closing the Form1 and setting the frm_Switchboard back to visible the option 1 is still highlighted and selected. So if I wanted to select it again I cant I have to select another option "Which would open another form or report" and then go back to option 1 and reopen it.
I have tried setting focus upon selecting an option to a hidden button Me.cmdHiddenButton.Setfocus and I tried Me.optSwitchboardGroup = 0 and Me.optSwitchboardGroup.value = 0
In my example and database I also use a function that requires using the date fields "From" and To" and moves to the control but still keeps the last option highlighted and selected.
Ideas, thoughts
I have tried setting focus upon selecting an option to a hidden button Me.cmdHiddenButton.Setfocus and I tried Me.optSwitchboardGroup = 0 and Me.optSwitchboardGroup.value = 0
In my example and database I also use a function that requires using the date fields "From" and To" and moves to the control but still keeps the last option highlighted and selected.
Ideas, thoughts