I'm trying to copy a record from a form. My code behind the button looks like this:
With Me.RecordsetClone
.AddNew
!TableField1 = Me.CorrespondingTextboxName1
!TableField2 = Me.CorrespondingTextboxName2
… etc for the rest of the fields
.Update
.Bookmark = .LastModified
End With
The problem is, when I get to the .Update
line, I'm getting an error that says ODBC Call Failed
.
If I step through the code, each field appears to resolve correctly, it's just the Update statement that it doesn't seem to like.
Any ideas why this would happen and/or how to correct it?