Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Location
    Hillsboro, OR, USA
    Posts
    59

    Unanswered: Move focus from subform control to parent control

    I want to move focus from a control on a subform to a control on the parent form.

    I've tried:

    Me.Parent.CustomerID.SetFocus
    Me.Parent.Form.CustomerID.SetFocus
    Forms!frmSale!CustomerID.SetFocus

    I always get:

    RunTime Error: '2110'

    Microsoft Access can't move focus to the control CustomerID.

    Any ideas?

  2. #2
    Join Date
    Nov 2002
    Location
    San Francisco
    Posts
    251
    Forms(Me.Parent.Name).Controls("CustomerID").SetFo cus

    :-)

    jiri

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •