This method deletes the current record in an open Recordset object.
recordset.Delete AffectRecords
Using the Delete method deletes the current record from the database. If the Recordset object does not enable record deletion, an error occurs.
Retrieving field values from the deleted record generates an error.
A deleted record remains current until you move to a different record, after which the deleted record is no longer accessible. If the attempt to delete records fails, a run-time error occurs.