[AccessD] get focus back to subform - URGENT

Heenan, Lambert Lambert.Heenan at AIG.com
Thu Jul 10 08:42:32 CDT 2008


IIRC you have to first set the focus to the subform control (that contains
the subform) and then set the focus to the control ON the subform.

Lambert

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti
Sent: Thursday, July 10, 2008 11:52 PM
To: Access D Normal List
Subject: [AccessD] get focus back to subform - URGENT

Must be a bad day....

>From a control on a subform, when I say
me.parent.requery,

I then cannot get the focus back to my control on the subform using:

me.controlname.setfocus.

Any tips? This should be easy stuff but driving  me mad today.........
tia

Kath
______________________________________
Kath Pelletti
-- 
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