[AccessD] Select one of several open forms

Asger Blond ab-mi at post3.tele.dk
Mon Oct 10 08:18:59 CDT 2011


Forms("FormA").SetFocus

Asger

-----Oprindelig meddelelse-----
Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] På vegne af Arthur Fuller
Sendt: 10. oktober 2011 15:04
Til: Access Developers discussion and problem solving
Emne: [AccessD] Select one of several open forms

I have a main form, another form (FormA) and a popup (FormB). When the user
enters values in the popup, I hide that form. The intent is to then copy
some values back to FormA and then close FormB. That part seems to work
fine. The problem is that control is returning to the main form rather than
to FormA. I recall that there is a way to set the focus specifically to any
given open form but I can't remember it. Is it as simple as
"FormA.SetFocus"?

TIA,
Arthur
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com





More information about the AccessD mailing list