Results 1 to 2 of 2

Thread: ODBC failure

  1. #1
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location

    ODBC failure

    Anybody Know what this message means and how do I prevent it from happening?

    [IMG]file:///C:/Users/Daniel/AppData/Local/Temp/moz-screenshot.png[/IMG]
    Thank You,
    Daniel Blois
    http://studenthacker.blogspot.com/

  2. #2
    VBAX Tutor
    Joined
    Nov 2007
    Posts
    257
    Location
    Quote Originally Posted by Djblois
    Anybody Know what this message means and how do I prevent it from happening?

    [IMG]file:///C:/Users/Daniel/AppData/Local/Temp/moz-screenshot.png[/IMG]
    The error message is from the Oracle ODBC. It is telling you that the Oracle table involved has a unique key constraint (NO DUPLICATES) has been violated (YOU HAVE a DUPLICATE).

    To resolve the duplicate you have to do a check within your program that,
    if the value you are trying to add already exists, then you must not try to add that record/value.

    In Access you should look at the DCount function. Other approaches may also be used.

Posting Permissions

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