dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: run-time error: 3426, Help!

  1. #1
    Join Date
    Aug 2004
    Posts
    15

    Unhappy run-time error: 3426, Help!

    wazzup guys? i need your help again, an error appears everytime I try to save a new record. it shows this error message:

    run time error: 3426:
    This action was cancelled by an associated object.

    It shows that the an index field on my database is causing the error.
    One more thing, there is an inconsistency cause, sometimes the error does not appear and when i run the program again, it shows again. This error is driving me crazy. Is there any way that can make this error eliminate?

    I hope that you can help me guys... thanks!
    Last edited by nerd_29; September 20th, 2004 at 12:41 AM.

  2. #2
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: run-time error: 3426, Help!

    This looks like a classic case of trying to enter a record where either the primary key already exists or A foreign key in an associated table doesn't exist. Ensure all Constraints are being met first before trying to create a new record.
    If you find my answers helpful, dont forget to rate me

  3. #3
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110

    Re: run-time error: 3426, Help!

    This might help u


    http://www.kbalertz.com/kb_189678.aspx



    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)