G
Guest
When I delete the last record in the database, I receive the following error:
Run-time error 2026. The command or action 'recordsgotonew' isn't available
now.
I created a delete button and here is the code I am using to delete the record
Private Sub Delete_Record_Click()
Recordset.Delete
DoCmd.RunCommand acCmdRecordsGoToNew
Me.Requery
End Sub
Run-time error 2026. The command or action 'recordsgotonew' isn't available
now.
I created a delete button and here is the code I am using to delete the record
Private Sub Delete_Record_Click()
Recordset.Delete
DoCmd.RunCommand acCmdRecordsGoToNew
Me.Requery
End Sub