SetFocus in Option Group - Bug alert

rockman

Senior Member
Local time
Today, 11:02
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
 
It might be productive to post the version of Access and the version of Windows you are using. Also, you might wish to check the MS Knowledge Base for this kind of problem.
 
Yes, I see your point. I'm using Access 2000 on Windows XP Home. No Microsoft Knowlegde Base articles relating to this topic based on search of "SetFocus Option Group".
 

Users who are viewing this thread

Back
Top Bottom