![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello! How do you dynmaically change sql server connections (data source) through ActiveX script? This code is not working for me: DTSGlobalVariables("gv1").Value = server1 DTSGlobalVariables("gv2").Value = server2 //I am trying to pass server name.. 'gv1' and 'gv2' are global variables defined in the 'dynamic properties' task. The sequence of the DTS pacakge is: 1. Dynamic properties task 2. ActiveX 3. sql server connection 1 //data pump 4. sql server connection 2 Thanks for your help! *** Sent via Developersdex http://www.developersdex.com *** |
#3
| |||
| |||
|
|
Hello! How do you dynmaically change sql server connections (data source) through ActiveX script? This code is not working for me: DTSGlobalVariables("gv1").Value = server1 DTSGlobalVariables("gv2").Value = server2 //I am trying to pass server name.. 'gv1' and 'gv2' are global variables defined in the 'dynamic properties' task. The sequence of the DTS pacakge is: 1. Dynamic properties task 2. ActiveX 3. sql server connection 1 //data pump 4. sql server connection 2 Thanks for your help! *** Sent via Developersdex http://www.developersdex.com *** |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |