The Backwards. Can rs move bacKwards?

  • Thread starter Thread starter ooxx
  • Start date Start date
O

ooxx

hi,

If this is the code to do next,then what would be for the backwards?

Do Until .EOF
If ![NameX] = Me.TheName Then
I = ![DLefted]
End If
.MoveNext
Loop

then what will be if

Do Until .BOF
....
....

Thanks, woo
 
ooxx said:
hi,

If this is the code to do next,then what would be for the backwards?

Do Until .EOF
If ![NameX] = Me.TheName Then
I = ![DLefted]
End If
.MoveNext
Loop

then what will be if

Do Until .BOF
...
...

Thanks, woo

..MoveLast
Do Until .BOF
If ![NameX] = Me.TheName Then
I = ![DLefted]
End If
.MovePrevious
Loop
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Email Multiple Recipients 2
ADO, how to move through this recordset 3
Adding a counter to a loop 3
Nested IF 7
Looping Through Records 3
Change Password 2
Records aren't being retrieved. 1
Loop inside a loop 6

Back
Top