E
Eddy
Using Access2003 I am trying to delete a record on a form. The forms record
source is a query. The line of code I am using is:
If Me.Dirty Then Me.Undo
If Not Me.NewRecord Then
RunCommand acCmdDeleteRecord
End If
It seems to delete the record but when I close the form and go back to it
the record is still there. It is apparently not deleting it from the table
but only the query. I'm new to Access2003. Can anybody help!
Thanks.
source is a query. The line of code I am using is:
If Me.Dirty Then Me.Undo
If Not Me.NewRecord Then
RunCommand acCmdDeleteRecord
End If
It seems to delete the record but when I close the form and go back to it
the record is still there. It is apparently not deleting it from the table
but only the query. I'm new to Access2003. Can anybody help!
Thanks.