trainman319
Programmer
Here is an interesting problem.
I have a situation where I need to allow the user to connect an Access ADP to identical SQL Databases on different servers and I can not hard code the server path.
Since any data stored in a table in the ADP is actually stored on the server, it can't be accessed until the ADP is connected.
I thought of writing a regular mdb which would contain the user various server paths, but how do I: 1) pass the 'path string' to the ADP to use when its opens and 2) how do I open the ADP using code contained in the mdb?
I am open to any and all suggestions.
I have a situation where I need to allow the user to connect an Access ADP to identical SQL Databases on different servers and I can not hard code the server path.
Since any data stored in a table in the ADP is actually stored on the server, it can't be accessed until the ADP is connected.
I thought of writing a regular mdb which would contain the user various server paths, but how do I: 1) pass the 'path string' to the ADP to use when its opens and 2) how do I open the ADP using code contained in the mdb?
I am open to any and all suggestions.