G
Guest
Can anyone tell me how to insert variables for server info in a SQL
connection statement.
For example, in the following statement:
("Server=KIN-SSQL02;" & "Database=FTQ;" & "User ID=abc;" & "Password=xyz;")
I tried using the following variables, but it doesn't work.
'("Server='varServer';" & "Database='varDatabase';" & "User
ID='varUserName';" & "Password='varPassword';")
In debug mode, I can hover over the variables and it shows the correct
information but I still get an error.
Thanks in advance,
Mike
connection statement.
For example, in the following statement:
("Server=KIN-SSQL02;" & "Database=FTQ;" & "User ID=abc;" & "Password=xyz;")
I tried using the following variables, but it doesn't work.
'("Server='varServer';" & "Database='varDatabase';" & "User
ID='varUserName';" & "Password='varPassword';")
In debug mode, I can hover over the variables and it shows the correct
information but I still get an error.
Thanks in advance,
Mike