sc_change_connection("Old_Connection", "New_Connection")

This macro dynamically change the application connections.


Ex. 1: To change the connections:
sc_change_connection ( "Old_Connection", "New_Connection";
"Old_Connection02", "New_Connection02");

Allows to change more then one application/connection in one command. Multiple connections can be passed as parameters that must be separated by ";" (semicolon).

Ex. 2: To use variables or change the main connection as follows:
sc_change_connection ([Global_Connetion], [Test_Connection]);


Ex. 3: To delete the exchange:
sc_reset_change_connection ();

The exchanges take effect in the following applications