Private Sub Command4_Click()

If rs.BOF = False Then
rs.MovePrevious


If rs.BOF = True Then

rs.MoveFirst
End If
Else
If rs.EOF Then

Else
rs.MoveFirst

End If
End If

End Sub


i am using the above command to move to the previous record.. but its not working.. .

any ideas