I'm trying to remember, I think you have to set the focus to the subform
first, and then set the focus to the control on the subform.  Something to
try.

HTH,
Toby

----- Original Message ----- 
From: "stomper57" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 03, 2005 11:52 AM
Subject: [AccessDevelopers] Subform Set Focus


Hi,
  I have a main form with two subforms.  I'm trying to set tab
order to go from the first subform to the other subform.  The
second subform is not nested.  I tried adding these to the last
control's Exit event.

    Me.Parent.frmSub2.cbo1.SetFocus
    Me.Parent.Form!frmSub2.cbo1.SetFocus
    Me.Parent.frmSub2.Form.cbo1.SetFocus

Any ideas?
Bryan








Please zip all files prior to uploading to Files section.
Yahoo! Groups Links








------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h13bjor/M=362131.6882499.7825260.1510227/D=groups/S=1705115370:TM/Y=YAHOO/EXP=1123102603/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 


Please zip all files prior to uploading to Files section. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessDevelopers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to