I have a form which contains a list box with a figure but I would like it to be selected when the form opens so it gets the focus and the first line in the list is selected. Any help.
The easiest way to do all of that is to change the tab order in the form. In design view, go to View --> Tab Order, and then grab the field you want and drag it to the top of the list. That usually makes that control the first thing selected when you open a form.
Secondly, to make it select one of the values, you go to the properties of that drop down box and give it a Default value. Simply type the value you want it to select.
Hope that helps. It can also be done in VBA. Let me know if you want to know how to do that (reply to this post).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.