PC Review


Reply
Thread Tools Rate Thread

Can I pass the logon credentials in a macro to a ODBC query

 
 
Peter Cooling
Guest
Posts: n/a
 
      14th Jan 2009
I have a spreadsheet with query to an ODBC data source

Each time the spreadsheet is opened and query refreshed it prompts for the
USERNAME an PASSWORD which in this instance are both blank.
Is there a way to pass the logon credentials in a macro? or other way of
avoiding the prompts?

Thanks


--
Thanks
 
Reply With Quote
 
 
 
 
ward376
Guest
Posts: n/a
 
      14th Jan 2009
If you're using MS Query, you can save the password in the query using
the External Data Range dialog.

Cliff Edwards

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Pass-through query with parameter from table Brett Microsoft Access Queries 5 28th Jul 2009 12:11 AM
Pass-Through ODBC query *to* (not from) MS Access Wabiloo Microsoft Access 4 1st May 2008 09:37 AM
Pass admin credentials to vb logon script? Craig Microsoft Windows 2000 Group Policy 1 30th May 2005 08:50 AM
pass through query for ODBC links =?Utf-8?B?bHV6aXBwdQ==?= Microsoft Access Queries 2 4th May 2005 04:51 PM
ODBC connect str for pass through query Peggy Microsoft Access Queries 1 2nd Oct 2003 10:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 PM.