![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to consolidate some code that I had replicated in many places in my DTS package by placing it in a Dynamic Property that sets a global variable. I can reference this variable through ActiveX Scripts with no problem. However, I can not figure out how to access it in an SQL query in another Dynamic Property that sets a source file path. I tried to prefix the global variable name with @ and @@, but both times I was told that I needed to declare the variable. How can I access this variable so I don't have to keep a whole lot of SQL in this dynamic property? Thanks in advance. -- Chris Lieb UPS CACH, Hodgekins, IL Tech Support Group - Systems/Apps |
#3
| |||
| |||
|
|
I am trying to consolidate some code that I had replicated in many places in my DTS package by placing it in a Dynamic Property that sets a global variable. I can reference this variable through ActiveX Scripts with no problem. However, I can not figure out how to access it in an SQL query in another Dynamic Property that sets a source file path. I tried to prefix the global variable name with @ and @@, but both times I was told that I needed to declare the variable. How can I access this variable so I don't have to keep a whole lot of SQL in this dynamic property? Thanks in advance. -- Chris Lieb UPS CACH, Hodgekins, IL Tech Support Group - Systems/Apps |
#4
| |||
| |||
|
|
I am trying to consolidate some code that I had replicated in many places in my DTS package by placing it in a Dynamic Property that sets a global variable. I can reference this variable through ActiveX Scripts with no problem. However, I can not figure out how to access it in an SQL query in another Dynamic Property that sets a source file path. I tried to prefix the global variable name with @ and @@, but both times I was told that I needed to declare the variable. How can I access this variable so I don't have to keep a whole lot of SQL in this dynamic property? |
#5
| |||
| |||
|
|
I am trying to consolidate some code that I had replicated in many places in my DTS package by placing it in a Dynamic Property that sets a global variable. I can reference this variable through ActiveX Scripts with no problem. However, I can not figure out how to access it in an SQL query in another Dynamic Property that sets a source file path. I tried to prefix the global variable name with @ and @@, but both times I was told that I needed to declare the variable. How can I access this variable so I don't have to keep a whole lot of SQL in this dynamic property? Thanks in advance. -- Chris Lieb UPS CACH, Hodgekins, IL Tech Support Group - Systems/Apps |
![]() |
| Thread Tools | |
| Display Modes | |
| |