Database error during update-method: 3426 
Author Message
 Database error during update-method: 3426

Hello!

I sometimes get the following run-time-error during updating the database
record: "Error 3426: The action was canceled by an associated object.". What
means this message? I use the recordset.update method after I started
editing or adding an entry with recordset.addentry (or something like that).
What can I do?

Thanks,
Daniel Fett



Wed, 25 Feb 2004 06:54:49 GMT  
 Database error during update-method: 3426
In my experience, this is usually caused by a foreign-key relationship
that's being violated; ie, adding a row to table A with a foreign key to
table B, when table B does not contain a row with the corresponding key.
Hope that's clear! Check these relationships and ensure you are abiding by
them when adding, deleting or updating data.

Hope this helps!

Steven Bras, MCSD
Microsoft Developer Support/Visual Basic WebData



Wed, 25 Feb 2004 05:57:58 GMT  
 Database error during update-method: 3426
Thanks!

Do you know, where i can get a helpfile containing this topic? if i click on
'Help' in the error-message-window i get a windows-help error no. 129 which
complains that the topic is not avaiable.

Daniel Fett



Wed, 25 Feb 2004 19:32:30 GMT  
 Database error during update-method: 3426
What code and database are you using?


Quote:
> Hello!

> I sometimes get the following run-time-error during updating the database
> record: "Error 3426: The action was canceled by an associated object.".
What
> means this message? I use the recordset.update method after I started
> editing or adding an entry with recordset.addentry (or something like
that).
> What can I do?

> Thanks,
> Daniel Fett



Thu, 26 Feb 2004 00:55:52 GMT  
 Database error during update-method: 3426
Unfortunately, I don't know where exactly this is documented. The best help
file we have is MSDN, which you can access for free on the net, at
http://msdn.microsoft.com/library. Unfortunately, you'll have to look the
error up manually, but you may find something.

Good luck!

Steven Bras, MCSD
Microsoft Developer Support/Visual Basic WebData



Fri, 27 Feb 2004 23:50:18 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Database Error No. 3426 (VB 5) / Datenbankfehler 3426 (VB 5)

2. Data control Addnew method error 3426

3. Error 3426 with VB5 and Addnew method

4. Error 3426 in VB5 and AddBew method

5. Application-defined error 3315 during table.Update method

6. Application-defined error 3315 during table.Update method

7. Error 3426 when updating dbcombo

8. Help - VB4 with Access Database gives Error 3426

9. Error 3426 creating first record of a database

10. Database Error No. 3426

11. error 3426 (database)

12. VB5 Professional: Access database runtime error 3426

 

 
Powered by phpBB® Forum Software