+ Reply to Thread
Results 1 to 4 of 4

Unable to find connection string

  1. #1
    Registered User
    Join Date
    12-12-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    1

    Unable to find connection string

    I am doing Reverse Engineering of an application where the data is fetched from the Tab files and stored in database(i.e. mdb files).
    I am unable to find the connection string to DAO database while debugging the macro. Also have searched the whole macro with keywords like "Provider" and "DataSource" but I am unable to find any.

    Is there any other alternate way to connect to the Access Database?

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Unable to find connection string

    Have you checked the "Existing Connections" in the Data tab?
    If someone has helped you then please add to their Reputation

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Unable to find connection string

    Use ODBC and link the tables in.
    In access,check the connection via:

    Currentdb.tabledefs("tMyTable").connection

  4. #4
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,173

    Re: Unable to find connection string

    Use ODBC and link the tables in.
    In access,check the connection via:

    Currentdb.tabledefs("tMyTable").connection
    Last edited by ranman256; 01-11-2017 at 09:57 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel External Connection Dropping Password from Connection String?
    By mar0isa in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-06-2015, 10:35 AM
  2. Connection string for MS Query
    By kravi88 in forum Access Tables & Databases
    Replies: 0
    Last Post: 06-05-2014, 10:42 AM
  3. MS SQL Express connection string
    By Wongadob in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-10-2013, 12:42 PM
  4. Replies: 1
    Last Post: 08-04-2009, 06:42 AM
  5. ADODB Connection String
    By iancallaghan87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2008, 11:54 AM
  6. Varialble connection string
    By TkNeo in forum Excel General
    Replies: 1
    Last Post: 04-03-2007, 06:20 PM
  7. ADODB Connection String
    By Nigel C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2005, 03:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1