Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    490
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Deselect List (MSACCESS 2003)

    Is there an easy way to deselect a multiple choice listbox. Tried setting to Null ans requerying but no, thats too logical! Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Deselect List (MSACCESS 2003)

    Simply loop through the items and set the Selected property of each item to False:

    Dim i As Integer
    For i = 0 To Me.MyList.ListCount - 1
    Me.MyList.Selected(i) = False
    Next i

  3. #3
    4 Star Lounger
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    490
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Deselect List (MSACCESS 2003)

    Many thanks again Hans, perfect.

Posting Permissions

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