I have a way of changing what database i am looking at within a SQL server.
The issue that i am having is that everytime i load up the access file it keep on asking me for a username / password.
Is there anyway of stopping it doing this.
When i have done the original link, i asked it to save the password, which is does for this one, but not for anything else.
I hope this makes sense.
The code i am using to change the database that i am looking at is the following: -
DBNAME is the name of the database that the user wishes to connect to.
thanks for help inadvance.
The issue that i am having is that everytime i load up the access file it keep on asking me for a username / password.
Is there anyway of stopping it doing this.
When i have done the original link, i asked it to save the password, which is does for this one, but not for anything else.
I hope this makes sense.
The code i am using to change the database that i am looking at is the following: -
Code:
ODBC;DRIVER=SQL Server;SERVER=DATASERVER;APP=Microsoft Open Database Connectivity;WSID=SERVER;DATABASE=" & DBNAME & ";Network=DBMSSOCN;Address=SERVER,1433;Trusted_Connection=Yes"
DBNAME is the name of the database that the user wishes to connect to.
thanks for help inadvance.