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
Terrell37iAsked:
Who is Participating?
 
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:
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
 
SiddharthRoutCommented:
Which control are you in when the error occurs?

Sid
0
 
Terrell37iAuthor Commented:
I figured it out
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.