Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(3426) This Action was Cancelled by an Associated Object

Status
Not open for further replies.

jcarroll

Programmer
Jul 11, 2000
7
CA
Platform: Access 2000

Hi,
I am having trouble correcting an error that occurs when I issue the addnew command on a dynaset type recordset. This recordset is set to the .recordset property of a bound form.

-----------------------------------------------------------
Dim rstStatus As Recordset

Set rstStatus = frmFormAny!sfmPSNLine.Form.Recordset

With rstStatus

.AddNew '### Error 3426: This Action Was Cancelled By
'An Associated Object ###

!IssueID = lngForeignID
!EntryDate = Date
!User = DBEngine.Workspaces(cintCountStart).UserName
!Description = "Status Changed to " & strStatusHold & _
". Comment: " & strStatComm
!Enabled = False

.Update

End With

Set rstStatus = Nothing
-----------------------------------------------------------

notes: - both BOF and EOF are false on my recordset
- requerying the recordset does not make a
difference
- the current record is not null as per (or atleast
as I can see, therefore the knowledge base
article "PRB This action was cancelled by an
Associated Object.(3426)" does not seem to apply.

Has anyone seen this error before, any help would be greatly appreciated,
Justin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top