it works nu but need "like" not "="
el = Me!melosID
With Me.List47
For i = 0 To List47.ListCount - 1
If List47.Column(0, i) Like el Then
List47.Selected(i) = True
End If
Next i
End With
thanks a lot!!
you are right about this.
but it is unfortunately the reverse I need just nu.
when it works for a record why not work for any other.
--------this is my code--------
ar = Me!arendeID
For i = 0 To Listruta24.ListCount - 1
If Listruta24.Column(0, i) = "ar" Then
' Do some...
it seems to work only if i put the ID number (like 551, instead for "CA") in to the code.
if i change it to "me.memberID" (to take the forms member ID) nothing happens...then
i select my list item which bookmark respective record i my form.
how kan i highlight the current record i listbox when i go to next record i form using the next button i form?
how the select item i listbox kan follow the record i users form?