Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2002
    Location
    Nottingham - UK
    Posts
    113

    Unanswered: Data in List Box Problem

    Hello All

    I have a list box on a form and when I create a new record the list box automatically shows the first item in the list.

    How do you, when entering a new record get the list box to show nothing until the list box is clicked.

    Thanks

  2. #2
    Join Date
    Feb 2002
    Location
    Leuven, Belgium
    Posts
    27
    Hi,

    I use the following code to select all the items in a list. By Setting the SELECTED property to false you can unselect the items in a list.

    For i = 0 To Me.lstInvoicesRef.ListCount - 1
    Me.lstInvoicesRef.Selected(i) = True
    Next i

    Hope it helps,

    anna

Posting Permissions

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