Hi,

In the beginning of database (access database) is empty and I want to add a new record and then cancel it. But I get an error
"Run-time error 3021 No current record" when I press Cancel button. Here is the code in cmdCancel:

Private Sub cmdCancel_Click()

Data1.UpdateControls
Data1.Recordset.Bookmark = vbookmark3

End Sub