rockman
Senior Member
- Local time
- Today, 02:32
- Joined
- May 29, 2002
- Messages
- 190
FYI-
Many of you may have noticed that you cannot SetFocus to a control within an "option group" -- you will get the following error: "Run-Time Error '2110': Microsoft Access can't move the focus to the control xxx"
Your work-around is to SetFocus to the Option Group and not one particular control within the group.
This situation is not necessarily a "bug"-- let's just call it an undesirable "feature" of Microsoft Access.
The bug comes when your option group is placed on a tab control and you try to SetFocus to a control within the option group. Instead of getting the above error message, your CPU revs to 100% and the program hangs... needing a Ctrl-Alt-Delete to get out of the program.
Jeff
Many of you may have noticed that you cannot SetFocus to a control within an "option group" -- you will get the following error: "Run-Time Error '2110': Microsoft Access can't move the focus to the control xxx"
Your work-around is to SetFocus to the Option Group and not one particular control within the group.
This situation is not necessarily a "bug"-- let's just call it an undesirable "feature" of Microsoft Access.
The bug comes when your option group is placed on a tab control and you try to SetFocus to a control within the option group. Instead of getting the above error message, your CPU revs to 100% and the program hangs... needing a Ctrl-Alt-Delete to get out of the program.
Jeff