General discussion

Locked

Error 3426 in Access

By NNLogistics ·
I'm fairly new to coding. I'm getting a run time error 3426 - This action was cancelled by an associated object. Debug highlites the addnew line. Strange though, I'm not getting it at the system I develope at(win 2k and office xp), when I bring it home (Win xp and office 2k) I get the error. I checked the refereces and they are the same. I put together another system(Win2k and office 2k) and it also fails the same way.


Private Sub txtDateReturnedtoVHO_AfterUpdate()
'Write additional Record to tblVendorRepair

Me.RecordsetClone.AddNew

Me.RecordsetClone!fldOrderDetailID = Mid(Me.txtRMANumber, 5)
Me.RecordsetClone!fldDateToVHO = txtDateReturnedtoVHO
Me.RecordsetClone!fldRMANumber = txtRMANumber
Me.RecordsetClone!fldReasonForReturn = txtReasonForReturn
Me.RecordsetClone!fldNCWarranty = -1

Me.RecordsetClone.Update

MsgBox ("Record Written To TblVendorRepair")
--
Thanks for any assistance

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Software Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums