Full_Williams
Registered User.
- Local time
- Today, 17:50
- Joined
- Jul 2, 2002
- Messages
- 88
Hey there,
Can someone take a look at my code and let me know if they see anything wrong.
I'm getting a message that says:
"Update or CancelUpdate without AddNew or Edit"
Here's my code:
Set db = CurrentDb
Set rst1 = db.OpenRecordset("tblTable", dbOpenDynaset)
rst1.MoveLast
rst1.Edit
rst1.Delete
rst1.Update
It's actually deleting the record, but I don't know why I'm getting that message.
Thanks,
Full Williams
Can someone take a look at my code and let me know if they see anything wrong.
I'm getting a message that says:
"Update or CancelUpdate without AddNew or Edit"
Here's my code:
Set db = CurrentDb
Set rst1 = db.OpenRecordset("tblTable", dbOpenDynaset)
rst1.MoveLast
rst1.Edit
rst1.Delete
rst1.Update
It's actually deleting the record, but I don't know why I'm getting that message.
Thanks,
Full Williams