
Create explicit Field objects when looping on large Recordsets
Whenever you access a database field through the Recordset object you incur in a slight overhead. Take for example the following code snippet: Dim rs As New ADODB.Recordsetrs.Open “SELECT au_lname, au_fname FROM authors”, “DSN=pubs”, , , adCmdTextDo Until rs.EOF List1.AddItem rs(“au_lname”) & “, ” & rs(“au_fname”) rs.MoveNextLooprs.Close The references to