Consulting

Results 1 to 3 of 3

Thread: Have mouse cursor positioned in combobox on launch of form.

  1. #1
    VBAX Regular
    Joined
    Oct 2019
    Posts
    8
    Location

    Have mouse cursor positioned in combobox on launch of form.

    Hi all. Have created a ms access form for users to either select a name from a combobox or type the name in search style to retrieve the data that they need. My issue is, that when the form opens the mouse cursor is in a text box - for simplicity I need it to be in the combobox. Everything I have tried has failed - can someone help please. And for your info - I created the form essentially using the wizard - hence no vba code that I can see - and the combobox is unbound. Thanks in advance.

  2. #2
    VBAX Guru
    Joined
    Mar 2005
    Posts
    3,091
    Location
    The simplest way to achieve what you want is to change the Tab Index of the Combo box to 0, which is the first Tab position.
    With the form in design view click on the Combo box and then in the Properties click on the "Other" tab. Tab Index is the 5th item down, also ensure that the Tab Stop is set to "yes".

  3. #3
    VBAX Regular
    Joined
    Oct 2019
    Posts
    8
    Location
    OBP - you are a legend - even if it was as simple as that. Thank you so much - problem solved.

Posting Permissions

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