The Backwards. Can rs move bacKwards?

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
 
S

Stuart McCall

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
 
Top