|
Selecting the First Item in Your ListBox
Provided by: Steve Clark, Senior Project Manager
A user often wants to see something in a list box already selected when a specific form opens or an item is selected from another location. You can programmatically select the first item in the list in order to accomplish this.
For a Single-Select Listbox, to automatically select the first value, use the following code: If IsNull(lstBox) Then |