I think....
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
rst.MoveLast
' Loop until you're at the beginning
Do While Not rst.BOF
' Your code here
...
' Go to the previous record
rst.MovePrevious
Loop
' Close the recordset
rst.Close
Set rst = NothingUsers browsing this forum: No registered users and 1 guest