set focus to subform in subform from main form button

M

msmuzila

Need to set focus to subform in subform from main form button

Main form: frmFind
Subfrom: frmAdd_Disk
Sub-subform: frmDisk

control to set focus on sub-subform: Disk # (text box)

many thanks
 
T

tina

suggest you try doing it in steps, setting focus first on the subform, then
on the sub-subform, then on the control within the sub-sub-form. syntax
could be either of

Me!SubformControlName
Me!SubformControlName!SubSubformControlName
Me!SubformControlName!SubSubformControlName!TextboxName

or

Me!SubformControlName
Me!SubformControlName.Form!SubSubformControlName
Me!SubformControlName.Form!SubSubformControlName.Form!TextboxName

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top