Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2018, 09:06 AM
shabbaranks shabbaranks is offline Amending an ODBC link in a spreadhseet Windows 7 64bit Amending an ODBC link in a spreadhseet Office 2007
Advanced Beginner
Amending an ODBC link in a spreadhseet
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default Amending an ODBC link in a spreadhseet

Hi,


I've got a spreadsheet which connects to an SQL DB to query data using an ODBC 10.0 connection as per the picture. The connection WSID refers to a server which I want to decommission. I would like to use another server connection but I cant change the connection settings.


Can anyone help please?
Thanks
Attached Images
File Type: jpg ODBC.jpg (8.5 KB, 15 views)
Reply With Quote
  #2  
Old 10-25-2018, 11:40 AM
ArviLaanemets ArviLaanemets is offline Amending an ODBC link in a spreadhseet Windows 8 Amending an ODBC link in a spreadhseet Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

I always use a Datasource defined for computer.

Code:
DSN=MyDatasource;
UID=MyLogon;
Trusted_Connection=Yes;
APP=Microsoft Office 2013;
WSID=MyComputerName;
DATABASE=MySqlServerDB
All real connection info is defined in Datasource. When the server must be changed, I update the datasource, and this it all. I always can save a Registry Editor file to do this - and I can run the Registry Editor file on any computer to update identical datasources on various computers.
Reply With Quote
  #3  
Old 10-26-2018, 12:06 AM
shabbaranks shabbaranks is offline Amending an ODBC link in a spreadhseet Windows 7 64bit Amending an ODBC link in a spreadhseet Office 2007
Advanced Beginner
Amending an ODBC link in a spreadhseet
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

Thanks, if I change the data connection on the spreadsheet does that mean I'll need to change the pivot tables and the like?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amending an ODBC link in a spreadhseet Populate Word document from Excel spreadhseet shabbaranks Word 1 10-09-2017 05:22 AM
Amending an ODBC link in a spreadhseet Amending dates and recalculating duration seanpears99 Project 1 12-03-2012 07:18 AM
Amending templates on a Mac graham Word 0 01-05-2012 10:12 AM
Outlook address book & ODBC dhaven Outlook 0 12-19-2011 11:26 AM
DDE, OLE DB, or ODBC? timorrill Mail Merge 0 01-21-2009 01:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft