Is it possible to have an option to Select All the items in a list box. Iknow this can be done in VB but the list box in Access(XP)does not seem to support this function.
You can put a button next to the listbox with a caption of Select All and put the following code in the On Click event procedure: Dim I As Long
For I = 0 To Me.ListBoxName.ListCount Step 1
Me.ListBoxName.Selected(I) = True
Next I
You also must select either Simple or Extended in the List Box property Multi Select. Let me know if this will work for you. Bob Scriver
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.