A
Alton
When trying to trap for records that are not getting written to a table, I am
receiving this error: "Update or CancelUpdate without AddNew or Edit". After
the .Update line, I am doing the following:
..Update
If Err.Number <> 0 Then
'MsgBox Err.Number & " " & Err.Description
.CancelUpdate
On Error Resume Next
With rstReportErrors
.AddNew
.Fields("ClientID") = intID
.Fields("Name") = strName
(More Lines...)
.Update
End With
Not quite sure why I am getting this. Any suggestions would be appreciated.
Alton
receiving this error: "Update or CancelUpdate without AddNew or Edit". After
the .Update line, I am doing the following:
..Update
If Err.Number <> 0 Then
'MsgBox Err.Number & " " & Err.Description
.CancelUpdate
On Error Resume Next
With rstReportErrors
.AddNew
.Fields("ClientID") = intID
.Fields("Name") = strName
(More Lines...)
.Update
End With
Not quite sure why I am getting this. Any suggestions would be appreciated.
Alton