I use the following code behind a control on a form to delete a record and then call up the previous record. There can be multiple Inv's per FileNo. It seems to find the match, Me.RecordsetClone.NoMatch is returned as false, but the previous record is not displayed. The first record in the table is displayed as if I just opened the form. Any thoughts?
RunCommand acCmdDeleteRecord
vFind = "FileNo = '" & strFile & "' AND Inv = '" _
& strInv & "'"
Me.RecordsetClone.FindFirst vFind
Me.Bookmark = Me.RecordsetClone.Bookmark
RunCommand acCmdDeleteRecord
vFind = "FileNo = '" & strFile & "' AND Inv = '" _
& strInv & "'"
Me.RecordsetClone.FindFirst vFind
Me.Bookmark = Me.RecordsetClone.Bookmark