• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

Update or cancel Error

When entering information in my form ; before I can get to the end of the form entering information I always get this error Update or cancel update without add new or edit.  If I click ok it deletes the record..either way it does not let me complete the data entry of the form
Update-error.docx
0
Terrell37i
Asked:
Terrell37i
  • 2
  • 2
1 Solution
 
SiddharthRoutCommented:
Could you please show us the code behind the forms.

Sid
0
 
als315Commented:
I can agree with SiddharthRout - it will be good to look code.
May be you are trying to cancel adding record when it was not added yet.
Or your code have no .AddNew or .Edit and you heve .Update
0
 
Terrell37iAuthor Commented:
These are the codes on my form
Private Sub Form_Load()
If Not Me.NewRecord Then
RunCommand acCmdRecordsGoToNew
End If
End Sub
I took all the other codes out.  I have a add new button and a delete button
0
 
SiddharthRoutCommented:
Which control are you in when the error occurs?

Sid
0
 
Terrell37iAuthor Commented:
I figured it out
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now