N
ndalton
I have a continuous subform. I want each record in the subform to have a
button that deletes the record. I tried doing this with DAO by opening a
recordset using a select statement to select the record whose button was
clicked and coding the following:
recordSet.Edit
recordSet.Delete
recordSet.Update
But on the update command it gives me a runtime error, something like:
"Update or CancelUpdate without AddNew or Edit"
How can I accomplish this? Thanks for any input.
-ndalton
button that deletes the record. I tried doing this with DAO by opening a
recordset using a select statement to select the record whose button was
clicked and coding the following:
recordSet.Edit
recordSet.Delete
recordSet.Update
But on the update command it gives me a runtime error, something like:
"Update or CancelUpdate without AddNew or Edit"
How can I accomplish this? Thanks for any input.
-ndalton