Set Focus

syedadnan

Access Lover
Local time
Today, 15:28
Joined
Mar 27, 2013
Messages
315
I have a main form "Registration" have two sub forms one name is ADJ second name is SERVS
i have a command button on main form to open another form i am opening that form fine when i closing that outside form i want to set focus on second subform i.e. SERVS of the main form Registration, with the field name Services of subform
 
Can you tell us more with detail, or show a sample of what you want to happen, or send a copy of the database (remove anything private/confidential first).
 
Set both form and field...

Me.subform!form!txtBox.setfocus
 
I'm not sure you can do that in one step, normally first set the focus to the subform and the to the control in the subform.
 

Users who are viewing this thread

Back
Top Bottom