I am trying to return to the original record after a requery. I have tried everything I know and am running out of ideas.I'm sure you guys will have no problem. My latest attempt is as follows:
varBookmark = me.stopCount
me.requery
Set rs = Me.RecordsetClone
rs.FindFirst "StopCount = " & varBookmark
If Not rs.NoMatch Then
Me.Bookmark = rs.Bookmark
End If
Me.Stopcount is the only totally unique field. rs.findfirst never finds a match and skips to the end if. Any suggestions would be appreciated. I have searched through the existing threads and tried several suggestions but I just can't get them to work.
Thanks
varBookmark = me.stopCount
me.requery
Set rs = Me.RecordsetClone
rs.FindFirst "StopCount = " & varBookmark
If Not rs.NoMatch Then
Me.Bookmark = rs.Bookmark
End If
Me.Stopcount is the only totally unique field. rs.findfirst never finds a match and skips to the end if. Any suggestions would be appreciated. I have searched through the existing threads and tried several suggestions but I just can't get them to work.
Thanks