RecordSet Error...

sinkquick
04-16-2004, 09:46 AM
Hey, when I try to add some data into my database I get the following message:

Run-time error '3426':

This action was cancelled by an associated object.

Please help me...

Sinkquick...

RedLeader
04-16-2004, 10:10 AM
Hey, when I try to add some data into my database I get the following message:

Run-time error '3426':

This action was cancelled by an associated object.

Please help me...

Sinkquick...

Hi Sinkquick
what you use AdoControl or ....recordset?

sinkquick
04-16-2004, 11:40 AM
I use Recordset...

RedLeader
04-16-2004, 11:50 AM
can you Give us some code?

sinkquick
04-16-2004, 04:42 PM
Private Sub cmdAddCar_Click()
Data1.Recordset.AddNew
End Sub

That's the code I'm using for it...

MKoslof
04-16-2004, 07:10 PM
Can we see all of your code? This is only code in the Add event. Are you sure your ADODC.datasource is currently open. And you sure really consider using just standard ADO connections and recordsets. THE ADODC controls are troublesome. There is nice tutorial in the knowledge for ADO beginners

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum