johnnyextreme
MIS
In Access2000 I have a subform used by two different main forms. On the exit event of one of the subforms fields I want to setfocus on a field on the open main form, so that the user doesn't get stuck tabbing inside the subform. How can VBA determine which of two main forms is open so that I can set focus to a field on whichever main form is open? Or if there is another way to end the tabbing loop that would be helpful too. I tried referencing the IsLoaded property of one of the main forms to check if it was open, but lacking any examples I couldn't make the code work. [sig][/sig]