Hi,
I am having a slight problem connecting to my SQL Server using MS Access. My SQL server does not use a Username adn Password like all the other ones I have seen. They use the "windows authentication" . How do you let access use "windows authentication" ? Are you supposed to use the UID? And PASS? Is their a workaround?
I am having a slight problem connecting to my SQL Server using MS Access. My SQL server does not use a Username adn Password like all the other ones I have seen. They use the "windows authentication" . How do you let access use "windows authentication" ? Are you supposed to use the UID? And PASS? Is their a workaround?
Code:
Public Function PingTRIPSDatabaseITUAServer() Dim connectString As String 'connectString = "ODBC;Driver={SQL Server};Server=GAXGPSQ05UA;Database=TRIPS;UID=trimsuser;pwd=trimsdata" connectString = "ODBC;Driver={SQL Server};Server=ALBHM01CGSERVER;Database=Core;UID=????;pwd=????" Set db = DBEngine.OpenDatabase("", False, True, connectString) End Function
Comment