One .adp, two or more different SQL Server

Hi. hope you can understand my english.

I have 2 SQL Servers.
Is there some way to set to which sql server connect the .adp (or .ade) via code??
Now I have 2 sql servers (development and production).. but soon I will have more server at production in different cities. All SQL Servers have different names. Same databases names but the servername are all different.
So I have to configure the connection of the .ade in the the development server. Then when I want to send and upgrade to one of my clients, I have to go to his city and manually reconfigure the .ade to connect to his SQL Server.
This problem would be solved if all SQL Servers had the same name, but this is not my case.

It would be nice to have a config.ini file or something like that where the .ade could read the name of the server to connect to.

Is it possible to implement something like this.

Thanks in advance.
 
Back
Top