JacobTechy
Programmer
I have the connection string below in the open event of my form which works when I initially open the form, but when I click on a drop down box within that same form also pulling data from our sql server I get the sql server login using trusted connection window pop up. How can I make this connection string global. I have a ms access interface to sql server backend.
Dim Connect As String
Connect = "Driver={SQL Server};Server=servername;Database=dbasename;UID=;PWD=
Dim Connect As String
Connect = "Driver={SQL Server};Server=servername;Database=dbasename;UID=;PWD=