ListBox

D

Douglas J. Steele

Forms![NameOfForm]!NameOfListbox].Selected(EntryNumber) = True

EntryNumber starts at 0
 
S

Shell

I used the following code

For i = 0 To Me.lstBox.ListCount - 1
If Me.lstBox.ItemData(i) = rst!Date1REC Then
Me.lstBox.Selected(i) = True
Exit For
End If
Next i

The problem no is that ALL controls on the form are not responding to a
click event.
 
Top