When i loop in recorset with rs.eof the code read from the top to the end of list, or not?
If yes, how to loop in recordset from the end to the top of list, is this possible?
' Open recordset (I assume the connection has already been opened)
rst.Open "MyTable", cnn, adOpenKeyset, adLockOptimistic, adCmdTableDirect
' Go to the last record in the recordset
' Loop until you're at the beginning
Do While Not rst.BOF
' Your code here
' Go to the previous record
' Close the recordset
Set rst = Nothing
Users browsing this forum: No registered users and 1 guest