S
stelios
Hi,
I have the following code to fill a list box:
With RSSerchKartela
.MoveLast
.MoveFirst
Do Until .EOF
Me.[lstResults].Column(0) = KartID
Me![lstResults].Column(1) = !AM
Me![lstResults].Column(2) = !Kathgoria
Me![lstResults].Column(3) = !Bathmos
Me![lstResults].Column(4) = !Epwnymo
Me![lstResults].Column(5) = !Onoma
Me![lstResults].Column(6) = !Patronymo
.MoveNext
Loop
Me.txtCount.Value = .RecordCount
End With
But I don't get results, I get a run time error ('424' an object required)!
Whats going wrong?
What I have to change for filling the list box?
stelios
I have the following code to fill a list box:
With RSSerchKartela
.MoveLast
.MoveFirst
Do Until .EOF
Me.[lstResults].Column(0) = KartID
Me![lstResults].Column(1) = !AM
Me![lstResults].Column(2) = !Kathgoria
Me![lstResults].Column(3) = !Bathmos
Me![lstResults].Column(4) = !Epwnymo
Me![lstResults].Column(5) = !Onoma
Me![lstResults].Column(6) = !Patronymo
.MoveNext
Loop
Me.txtCount.Value = .RecordCount
End With
But I don't get results, I get a run time error ('424' an object required)!
Whats going wrong?
What I have to change for filling the list box?
stelios