Hi Group:
Can someone tell me why I can't save a record using this code? I'm getting an error message saying that Access can't go to the last record; it's already at the end of the recordset?
Thanks
Rich
Chicago
Private Sub CmdAdd_Click()
DoCmd.GoToRecord , , acNewRec
If Response = vbYes Then
MyString = "Yes"
Me.RecordsetClone.AddNew
Call Enable
' goes to a function that checks if fields are filled in
Private Function Verify()
'
[tblNotes.Vendor#] = [Vendor#]
[tblNotes1.Vendor#] = [Vendor#]
Me.RecordsetClone.Update
Me.Bookmark = Me.RecordsetClone.LastModified
'Does a few other things.....
End Function
Can someone tell me why I can't save a record using this code? I'm getting an error message saying that Access can't go to the last record; it's already at the end of the recordset?
Thanks
Rich
Chicago
Private Sub CmdAdd_Click()
DoCmd.GoToRecord , , acNewRec
If Response = vbYes Then
MyString = "Yes"
Me.RecordsetClone.AddNew
Call Enable
' goes to a function that checks if fields are filled in
Private Function Verify()
'
[tblNotes.Vendor#] = [Vendor#]
[tblNotes1.Vendor#] = [Vendor#]
Me.RecordsetClone.Update
Me.Bookmark = Me.RecordsetClone.LastModified
'Does a few other things.....
End Function