PDA

View Full Version : [SOLVED:] Have mouse cursor positioned in combobox on launch of form.



bj1280
10-24-2019, 12:23 AM
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.

OBP
10-24-2019, 01:17 AM
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".

bj1280
10-24-2019, 02:01 AM
OBP - you are a legend - even if it was as simple as that. Thank you so much - problem solved.