On our client machines we do not have separete file folders and client installations for our production and test environments. We have custom Windows / VBA we need to make sure is pointing to production data when the user signed on to GP and selected the production server name from the server list. Likewise when they select the test server from the server list we want to make sure they are pointing to test data on the test server. We would like for the VBA to be able to use some environment variable or table field to determine which server / environment the user selected from the server list.
We have separate ODBC system DSN data sources defined for the production and test SQL servers on the client machines. I looked at SY02100 but it does not contain the SQL server names, just server ID’s . Any help with this question would be appreciated.
*This post is locked for comments