Results 1 to 4 of 4

Thread: ODBC failure

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

    ODBC failure

    Sometimes my Access Program has an ODBC fail, requiring my users to restart the program. Is there a way I can Restart the ODBC connection programmaticely, so my users do not have to restart the program?
    Thank You,
    Daniel Blois
    http://studenthacker.blogspot.com/

  2. #2
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,675
    Location
    Can you provide a little more information about this issue? What kind of error message are they getting? Are they using Windows NT Authentication for the ODBC connection or a hard coded username/password? Are you sure that the data source is available when this error occurs? What kind of data source are you trying to connect to via ODBC?
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


  3. #3
    VBAX Master
    Joined
    Jun 2006
    Posts
    1,091
    Location
    What kind of error message are they getting?

    ODBC--call failed.
    
    [Oracle][ODBC][Ora]ORA-00001: unique constraint (WMS.PKO_HDP1) violated
     (#1)
    Error#3146


    Are they using Windows NT Authentication for the ODBC connection or a hard coded username/password?

    Hardcoded

    Are you sure that the data source is available when this error occurs?

    It should be - it is available than it crashes.

    What kind of data source are you trying to connect to via ODBC?

    Oracle
    Thank You,
    Daniel Blois
    http://studenthacker.blogspot.com/

  4. #4
    VBAX Master CreganTur's Avatar
    Joined
    Jan 2008
    Location
    Greensboro, NC
    Posts
    1,675
    Location
    Sorry, I have no Oracel experience. I know a few of the other guys do, so one of them might be able to help you with this. I've never had an ODBC call fail with SQL Server unless the target data source was unavailable for some reason.
    -Randy Shea
    I'm a programmer, but I'm also pro-grammar!
    If your issue is resolved, please use Thread Tools to mark your thread as Solved!

    PODA (Professional Office Developers Association) | Certifiable | MOS: Access 2003


Posting Permissions

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