Results 1 to 3 of 3
  1. #1
    hannlapp is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2018
    Posts
    4

    ODBC connection does not work via VBA

    Hi.

    It worked before but suddenly it wont anymore!
    When I test in Control Panel my odbc connection to sql server, it works fine!
    But in my VBA, it does not anymore recognize currentproject.connection.
    Some windows update made it broken??

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    try loading the table via odbc linked table. See if that works.

  3. #3
    hannlapp is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2018
    Posts
    4
    Quote Originally Posted by ranman256 View Post
    try loading the table via odbc linked table. See if that works.
    Hi. How shall I do it in VBA?

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

Similar Threads

  1. Replies: 3
    Last Post: 04-25-2018, 10:32 AM
  2. Replies: 1
    Last Post: 03-02-2015, 09:44 AM
  3. ODBC Connection
    By abhijeet@wipro in forum Access
    Replies: 3
    Last Post: 01-11-2013, 06:42 AM
  4. Replies: 5
    Last Post: 10-25-2011, 08:01 AM
  5. ODBC connection
    By avicenna in forum Import/Export Data
    Replies: 2
    Last Post: 08-02-2010, 02:33 AM

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