Hello All
I would like to loup through a recordset setting three label captions with results. I cant attach a counter to the label in a loop (if that makes sense)
lCnt = 1
Do While Not RS.EOF
Me.Label3 & lCnt & .Caption = RS("record")
RS.MoveNext
lCnt = lCnt + 1
Loop
The labels are called Label31, 32, 33. The record set only ever returns 3 results
Thanks
pingIT
I would like to loup through a recordset setting three label captions with results. I cant attach a counter to the label in a loop (if that makes sense)
lCnt = 1
Do While Not RS.EOF
Me.Label3 & lCnt & .Caption = RS("record")
RS.MoveNext
lCnt = lCnt + 1
Loop
The labels are called Label31, 32, 33. The record set only ever returns 3 results
Thanks
pingIT