Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    173

    Unanswered: Set Focus of an Open Form

    I am opening a Form (Form2) using a Command Button on a Form (Form1)


    With Form1 open, it works fine if Form2 is not is not already open, but if Form2 is already open, and I click the command button, Form2 stays behind Form1

    How can I set the focus to Form2 if it happens to be open when the command button is clicked on Form1

    Thanks - AB

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    forms!form2.SetFocus
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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