LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default MS Query - unable to edit query

For a reason I can't quite fathom, a big company like Oracle built a clunky
interface for external applications to query their databases.

The necessary components a
the Oracle instance
the Client software
AND....the TNSNAMES.ORA file

That is a specially formatted text file that the client software and DSN
connections uses to connect to the Oracle database.

This is a typical TNSNAMES.ORA entry:
prod.busyb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = TCPCOM.world)
(PROTOCOL = TCP)
(HOST = 131.101.62.20)
(PORT = 1521)
)
)
(CONNECT_DATA = (SID = PROD)
)
)

I use VBA and a DSN-less connection to access Oracle, so I'm a bit rusty on
the specifiics...but, when using ODBC you need to make sure the proper
TNSNAMES entry exists in that file. Your DBA can assist.


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"johnthemonn" wrote:

hello Ron,

I have the exact same problem as Excel GuRu and I do not know what
TNSNAMES.ORA means so please enlighten us



"Ron Coderre" wrote:

I have one question:
TNSNAMES.ORA?

If you don't know what that means, then I think we may have found your
problem.

Let me know.

***********
Regards,
Ron

XL2002, WinXP-Pro


"Excel GuRu" wrote:

Tried something different. Had another user create a query and save the
query from Microsoft Excel. I copied the query to my hard drive. I open a
new spreadshet, new database query, select queries tab, browse to find the
query, when I select the query I get the following error message.

"Data source name not found and no default driver specified."

Any thoughts?

"Excel GuRu" wrote:

In Excel, I open a new spreadsheet, set up a new database query, select the
tables, fields, and criteria for my query, return the data to excel. Once I
return the data to Excel, it appears I am unable to edit the query. I've
tested this in multiple spreadsheets and the same error occurs. Does anybody
have an idea what the issue could be. I am querying an Oracle Database and
am running Excel 2003.



 
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
Erorr when 'edit query' Johan Nilsson Excel Discussion (Misc queries) 0 February 8th 06 09:16 AM
Unable to open webpage error during a web query to https site soldier33w Excel Discussion (Misc queries) 0 February 1st 06 11:15 AM
Problem with MS Query - can't edit query jarems Excel Discussion (Misc queries) 2 December 12th 05 09:42 AM
Edit query takes a long time TonyL Excel Worksheet Functions 0 May 11th 05 10:50 PM
Cannot edit query. [email protected] Excel Discussion (Misc queries) 0 March 18th 05 07:42 PM


All times are GMT +1. The time now is 08:52 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"