Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    40

    Unanswered: determin which field has focus ?

    How can i determin which field has focus on a subform ??

    Thanks in advance.
    Bye Erwin

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    I'm not certain you can do this
    however an aleternative is to set the focus to a specified control usignthe setfocus property

    eg
    <mycontrol>.setfocus

    perhapos you could explain more what you are trying to achieve. and what the root cause of teh problkem you are experincing
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Nov 2003
    Posts
    1,487
    Like This:

    Forms("ParentFormName")("SubFrmControlNameOnParentForm").Form.ActiveControl.Name

    .
    Environment:
    Self Taught In ALL Environments.....And It Shows!


  4. #4
    Join Date
    Feb 2004
    Posts
    40
    Hello

    thanks the latest answer did the trick, i needed this for an on screen keyboard within the paren form.

    Now i'm able to tab through the subform and edit the selected field.
    Bye Erwin

Posting Permissions

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