+ Reply to Thread
Results 1 to 2 of 2

Change an ODBC Connection

  1. #1
    Registered User
    Join Date
    10-26-2006
    Posts
    26

    Change an ODBC Connection

    Does anyone know how to change an ODBC connection without having to recreate a SQL query? I have done this successfully with access, but not excel.

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    If you mean you want the exact same query to just point at another database then you could always copy the SQL statement from within MSQuery (hit the SQL button) and then create a new query, point it at the new db and paste the SQL into it. If you are creating the query in code, then it should be a straightforward matter of simply changing the connection string.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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