Olaf Jung wrote:
> Hello!
>
> I would like to move to a specific row in a recordset.
> For example I would like to get the value "MyText" from the 100. row.
> A very slow approach would be
>
> dim l&
> for l = 1 to rs.recordcount
> if l = 100 then
> ...
>
> Is there a faster way to go to that specific row?
>
> Thank you for help.
>
> Olaf Jung
in your select statement, start with
SELECT TOP 100 ......
When recordset is opened
Movelast
(Warning - it might not be what you expect,
depending on ORDER BY <parameter> in the query)
>> Stay informed about: Move to specific row in an ADODB.recordset