PatrickIRL
Programmer
- Jun 25, 2003
- 383
Hi,
Recently had a comment made, by a consultant, on the way I looped through an ADO recordset. What I always do is this ...
The comment was that this was the slowest mthod possible for looping. Is this comment correct??? He made no reference to an alternative, which I suppose can be taken to mean "go look and search, prove me wrong", well that's the way I took it up anyway.
Can't find anything to the contrary to prove that one method is faster than another, any ideas??
Patrick
Recently had a comment made, by a consultant, on the way I looped through an ADO recordset. What I always do is this ...
Code:
Do While Not rs.eof
rs.movenext
loop
The comment was that this was the slowest mthod possible for looping. Is this comment correct??? He made no reference to an alternative, which I suppose can be taken to mean "go look and search, prove me wrong", well that's the way I took it up anyway.
Can't find anything to the contrary to prove that one method is faster than another, any ideas??
Patrick