S Shell Feb 6, 2009 #1 In Access 2000, how do I, in code, make an entry in the listbox selected. Thanks
D Douglas J. Steele Feb 6, 2009 #2 Forms![NameOfForm]!NameOfListbox].Selected(EntryNumber) = True EntryNumber starts at 0
S Shell Feb 6, 2009 #3 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.
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.