Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I stop the SQL Login screen when refreshing a query.

I want to share a workbook that utilizes a ODBC SQL query. When the workbook
is opened users a presented a SQL login screen showing the username, password
, and SQL server. All the user has to do to clear this screen and refresh
the data is click 'OK'. How can I prevent this screen from being displayed
at all?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default How do I stop the SQL Login screen when refreshing a query.

Does your SQL server use windows authentication? Domain or workgroup? What
connection string are you using?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Elbmag" wrote:
|I want to share a workbook that utilizes a ODBC SQL query. When the
workbook
| is opened users a presented a SQL login screen showing the username,
password
| , and SQL server. All the user has to do to clear this screen and refresh
| the data is click 'OK'. How can I prevent this screen from being
displayed
| at all?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do I stop the SQL Login screen when refreshing a query.

The SQL Server uses "SQL Server and Windows" authentication. This server and
the users using the workbook are all on the same domain.

I'm not sure what connection string I'm using. I set the query up within
Excel using the data menu-import external data-new database query. I then
choose a data source I had set up previously for that SQL Server.

When I open the query editor and look at the SQL Statement that is generated
I do not see a connection string just the joings and so forth of the tables.

I appreciate any help or assistance you can provide.

"Dave Patrick" wrote:

Does your SQL server use windows authentication? Domain or workgroup? What
connection string are you using?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Elbmag" wrote:
|I want to share a workbook that utilizes a ODBC SQL query. When the
workbook
| is opened users a presented a SQL login screen showing the username,
password
| , and SQL server. All the user has to do to clear this screen and refresh
| the data is click 'OK'. How can I prevent this screen from being
displayed
| at all?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default How do I stop the SQL Login screen when refreshing a query.

If you're using a DSN then take a look at what credentials it uses. Control
Panel|Administrative Tools|Data Sources

If you use Integrated Windows authentication then you can ADD 'Domain Users'
or 'Authenticated Users' as db_datareader on your SQL Server .....
Security|Logins

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Elbmag" wrote:
| The SQL Server uses "SQL Server and Windows" authentication. This server
and
| the users using the workbook are all on the same domain.
|
| I'm not sure what connection string I'm using. I set the query up within
| Excel using the data menu-import external data-new database query. I then
| choose a data source I had set up previously for that SQL Server.
|
| When I open the query editor and look at the SQL Statement that is
generated
| I do not see a connection string just the joings and so forth of the
tables.
|
| I appreciate any help or assistance you can provide.


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
Stop automatic data reformat when refreshing a query RobC Excel Discussion (Misc queries) 0 July 23rd 08 05:14 PM
How can i stop Network Login pop-up while downloading excel Plabon Excel Discussion (Misc queries) 3 August 17th 07 04:56 PM
How to stop a Smart Tag Login Dailog box when excel opens R. S. Excel Discussion (Misc queries) 0 January 13th 07 02:10 PM
How to make a Password login screen in excel TMO[_3_] Excel Programming 3 December 14th 03 08:28 AM
Login Screen Jay[_10_] Excel Programming 1 August 18th 03 09:28 AM


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