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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top