SQL Server and Access

N

Newbie

Hi,

I have an access database (not project) that has three linked tables to 3
differenent SQL databases how can I get queries to work without the user
having to enter passwords for the SQL Server
 
N

Newbie

FYI - I have ODBC DSN's setup with the username and password. but this still
doesn't work

Is there a way of coding this so that the links can be refreshed, incl
passwords, without the need for user intervention?
 
R

Ron Weiner

Make sure that when you (re-)link the tables on the Sql Server that you
check the Remember Password checkbox. This will embed the password in the
link absolving that users from have to supply it each time they use the app.

Ron W
 
J

Jim McDonald

Try ADO connect programmatically.. password is one of the parameters.
Jimbo
 
D

david epsom dot com dot au

Also:

FYI - I have ODBC DSN's setup with the username and password. but this still
doesn't work

I think that means you haven't done that correctly ??? I think it is
supposed
to work

Is there a way of coding this so that the links can be refreshed, incl

Trusted connections (Win2K/WinNT security) is the easiest way.


(david)
 
N

Newbie

Thanks for all the replies - I just needed to check the Trusted Connection
box

Thanks again

Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top