Can anyone tell me why the following deletion code seems to move me one record forward after deleting the said record? Is it something to do with the current pointer?
Dim myrs As Recordset
If MsgBox("Do You Want To Delete The Record?", 4, "Deletion?"
= 6 Then
Set myrs = Me.RecordsetClone
With myrs
.Bookmark = Me.Bookmark
.Delete
End With
MsgBox "Record is Deleted!!", 64, "No Turning Back!!"
End If
myrs.MovePrevious
myrs.Close
Dim myrs As Recordset
If MsgBox("Do You Want To Delete The Record?", 4, "Deletion?"
Set myrs = Me.RecordsetClone
With myrs
.Bookmark = Me.Bookmark
.Delete
End With
MsgBox "Record is Deleted!!", 64, "No Turning Back!!"
End If
myrs.MovePrevious
myrs.Close