MdotButler
Programmer
I have a need to change the connection information stored in a database containing a bunch of remote views (VFP 7). For example, if doing training I would change the connection to open the "Training" database, if testing I would open the "Testing" database... All databases would be SQL databases stored in different servers. This is not the actual reason for needing this but will suffice as an example.
This needs to be done the first time the database is openned. I see that there are events that are fired upon doing the "open database", specifically the "OpenData". My question to the group is how to drill down to the connection and modify the DSN or ODBC name?
Has anyone done this or is there a better way that I am not thinking of?
TIA
Mark
This needs to be done the first time the database is openned. I see that there are events that are fired upon doing the "open database", specifically the "OpenData". My question to the group is how to drill down to the connection and modify the DSN or ODBC name?
Has anyone done this or is there a better way that I am not thinking of?
TIA
Mark