Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Create a database query that does not reference an IP address.

I have a spreadsheet that has a database query. The database is on a
Machine Server. I created the query by going to Data--Import External
Data--New Database Query...

Everything works great...except...
When you create the query, you choose the alias of the server (call it
ABC) but, Excel actually stores the IP address of the server when you
create a query in this way.

What happened to me is that the server's IP address changed while the
alias remained the same. The result is that my query no longer worked.
Even when editing the query I could not fix it because it referenced
the alias of "ABC" which, was still correct...it was the hidden IP
address that I needed to (but cannot) change.

The solution was that I had to delete the query and recreate it. The
problem with this is that this query is proliferated through copies of
the spreadsheet for various projects...thus, every single spreadsheet
created to date must be modified.

So finally...here is the question. How may I create a database query
that references ONLY the alias of the Machine ODBC database and not
the IP address?

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
database query not showing foxpro database How I import data mangat New Users to Excel 1 June 24th 07 03:31 PM
Create address database Jonny Excel Discussion (Misc queries) 1 March 2nd 06 08:03 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 1 November 29th 05 01:44 PM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"