unselect item form list box

  • Thread starter Thread starter gisela
  • Start date Start date
G

gisela

Hi,
I have a list box, when the form is loaded no item of the
list is selected. but if one item is choosen, when moving
with the navigation buttons in order to add a new record
for this new record the list box still has the last item
selected selected. how can I unselect all the items
selected in the listbox any time the user is moving with
the navigation buttons?

thx,
gisela
 
If this is not a multi-select listbox, you can set its value to Null.

To do that whenever you move record, use the form's Current event procedure,
e.g.:

Private Sub Form_Current
Me.MyListBox = Null
End Sub
 
Back
Top