I am using an ADO recordset. Now there are several ways to reference a field within the recordset. Is there any difference in the way you do it? Is one way better than the other?
VB Code:
rs.fields("Field 1") rs("Field 1") rs(0) 'I think this way would be the fastest since it doesn't 'have to do any comparison of the names in the fields. It knows 'to go straight to the first field in the recordset 'there is one more way using the ! but I forget the syntax
I was just wondering if any method is better.




Reply With Quote