Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Chris K
 
Posts: n/a
Default Excel Access and Oracle

My scenario..
I have an Access DB that contains a link table that points to an Oracle
table. Access to the Oracle table requires the user to login. Within this
access DB I have some queries that take data from the Oracle table and from
access tables to produce the result. In order to do some other stuff to the
data I use Excel and its Get External Data-New Database Query function to
point to the Access query. I have multiple excel tabs each containing one of
these access queries.

Within some Excel VBA code I call the query refresh function and do some
formatting to the results. The problem i would like to solve is... Each
time I call the QueryTAble.Refresh function the user must enter their
password to connect to the same oracle table. Is there a way to hardcode the
password into my code?

Thanks
Chris
  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Excel Access and Oracle

You might be able to do it using a dsn file with the user logging in as a
trusted connection, but the dba would probably have to get this one going. I
know that you can do this logging on to a SQL server and I'm assuming that
it's also possible with Oracle.
--
Kevin Backmann


"Chris K" wrote:

My scenario..
I have an Access DB that contains a link table that points to an Oracle
table. Access to the Oracle table requires the user to login. Within this
access DB I have some queries that take data from the Oracle table and from
access tables to produce the result. In order to do some other stuff to the
data I use Excel and its Get External Data-New Database Query function to
point to the Access query. I have multiple excel tabs each containing one of
these access queries.

Within some Excel VBA code I call the query refresh function and do some
formatting to the results. The problem i would like to solve is... Each
time I call the QueryTAble.Refresh function the user must enter their
password to connect to the same oracle table. Is there a way to hardcode the
password into my code?

Thanks
Chris

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
Excel and Databases Stanley Excel Discussion (Misc queries) 4 December 28th 05 10:25 PM
Anyway to transfer data from an excel spreadsheet to Project? dcws2003 Excel Discussion (Misc queries) 1 December 6th 05 10:57 PM
QUERYING ACCESS Drew Excel Discussion (Misc queries) 3 July 13th 05 07:25 AM
Oracle odbc Slinjger Excel Discussion (Misc queries) 1 July 3rd 05 04:35 PM
Problem accessing Oracle Public Synonyms from Microsoft Excel 2002 Sandeep Excel Discussion (Misc queries) 1 January 5th 05 09:31 AM


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

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

About Us

"It's about Microsoft Excel"