J
Jeff via AccessMonster.com
The code below works fine for records at the beginning of my data set but
when I run it from say the last record in my data set it returns to the
first record in the data set. Creating a break point and stepping into the
code works fine for all records. I'm stumped on this one. Any help is much
appreciated.
Dim IDCheck As Integer
IDCheck = Me.[ID]
If (Me.Dirty) Then
Me.Dirty = False
End If
Me.Requery
With Me.RecordsetClone
.Find "[ID]=" & IDCheck
If Not .EOF Then Me.Bookmark = .Bookmark
End With
when I run it from say the last record in my data set it returns to the
first record in the data set. Creating a break point and stepping into the
code works fine for all records. I'm stumped on this one. Any help is much
appreciated.
Dim IDCheck As Integer
IDCheck = Me.[ID]
If (Me.Dirty) Then
Me.Dirty = False
End If
Me.Requery
With Me.RecordsetClone
.Find "[ID]=" & IDCheck
If Not .EOF Then Me.Bookmark = .Bookmark
End With