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!

Findfirst runtime error 3437 and 3426

Status
Not open for further replies.

AndreAraujo

Programmer
Feb 14, 2002
62
PT
Hi,
in have a combo box that is used to find the record that is displaid in the form, in the afterupdate event of that combo i get the error runtime error "3437 Database has been placed in a state by User ..." and some times the error "3426 This Action was Cancelled by an Associated Object".
this is the code im using:
Private Sub CmbPesquisa_AfterUpdate()
Me.Recordset.FindFirst ("codprojecto=" & Val (Me.CmbPesquisa.Column(0)))
Response = acDataErrContinue
end sub

Thanks
 
I hope you mean
Code:
Me.RecordsetClone
. Otherwise, you are navigating the current form. When you have found the record, you can set the form's bookmark to the recordsetclone's bookmark.

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top