Connection String to MDB file a variable
Connection String to MDB file a variable
Is there a way to make the connection string used to connect to a database a variable. For both the path to the database and also the name. I have the situation where the database will be the exact same format but it's location and name will change.
Connection String to MDB file a variable
Hello,
Specifying a connection string via the variable is not possible. As a way, you can change the connection string from the code of your application:
Thank you.
Specifying a connection string via the variable is not possible. As a way, you can change the connection string from the code of your application:
Code: Select all
((StiSqlDatabase)report.Dictionary.Databases["Connection"]).ConnectionString = newConnectionString;