Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ERROR 7777 LISTINDEX

Status
Not open for further replies.

kpetas

Programmer
Oct 19, 2006
11
ES
ERROR 7777 YOU USE INCORRECTLY LISTINDEX
Yesterday this code works, but today no, I don't understand

For j = 0 To cad.ListCount - 1
If cad.Column(1, j) = Me.Lista3.Column(0, 1) Then
cad.SetFocus
cad.ListIndex = j
Exit For
End If
Next
 
No I didn't.
And the ListBox rowsource is this:
SELECT Kide.Codigokide, Kide.Nombrekide
FROM Kide ORDER BY [Codigokide];
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top