hi all. i've heard somewhere that looping through a recordset using " while ( !rs.EOF ).." is expensive becasuse it has to constantly check if the recordset it at the end. I have been doing this instead, but was wondering if it's alot of trouble not much (if any) gain.
while ( !rs.EOF )
{
aSites = '' + rs(0);
rs.MoveNext ;
i += 1;
}
for (i = 0; i < aSites.length; i++){
.....
this way i only have to check the recordset once. anyone have any opinions on this???
while ( !rs.EOF )
{
aSites = '' + rs(0);
rs.MoveNext ;
i += 1;
}
for (i = 0; i < aSites.length; i++){
.....
this way i only have to check the recordset once. anyone have any opinions on this???