I use
While Not RST.EOF
RST.MoveNext
'test=number actual row
Wend
during this loop is possible to know wath is the current line number row
POSITION of current row
-
- Administrator
- Posts: 78575
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: POSITION of current row
Code: Select all
Dim lngRow As Long
RST.Open ...
lngRow = 0
Do While Not RST.EOF
lngRow = lngRow + 1
....
RST.MoveNext
Loop
Best wishes,
Hans
Hans