Discussion Locked
Access 2000 setfocus to another form
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a subform used by two different main forms. On the exit event of one of the subform's fields I want to setfocus on a field on the open main form. 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? I was thinking of the IsLoaded property but don't have a good example to go by.