Results 1 to 4 of 4
  1. #1
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568

    ODBC failed

    Hi,

    i am getting error like this:
    https://support.microsoft.com/pl-pl/...ked-to-a-sql-d

    i want to show different msgbox for my user,



    how can i do this?

    Best,
    Jacek

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 10 Access 2016
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    Do want to know how to trap errors in vba? When does this error occur?

  3. #3
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    I know how to trap errors.

    I thought that there is possibility to change msgbox for my specific one.

    So instead System ODBC failed changes this for example for "Ups, you can not do that".

    I think that only way is refer to windows functions and procedures like here:

    http://www.accessmvp.com/TomvanStiphout/OdbcErrors.htm

    Best,
    Jacek

  4. #4
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 10 Access 2016
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    IMO,Users should not run into ODBC error messages. I would recommend preventing the user from attempting to do what they can't. The suggested option of your link is possible, it explains everything you need to do.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. ODBC - call failed
    By nggman in forum Queries
    Replies: 2
    Last Post: 10-30-2017, 07:16 AM
  2. Replies: 1
    Last Post: 03-02-2015, 09:44 AM
  3. ODBC-Call Failed
    By gviau in forum SQL Server
    Replies: 1
    Last Post: 07-05-2014, 10:25 AM
  4. ODBC--call failed
    By TCB in forum Access
    Replies: 4
    Last Post: 04-28-2011, 08:23 AM
  5. ODBC -- call failed. | Oracle ODBC
    By drdexter33 in forum Access
    Replies: 1
    Last Post: 04-03-2010, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums