![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I found a workaround... Oddly enough it was something that came to me after reading Allan Mitchell's response to a completely different problem I posted earlier. I am not going to bother with any Global Variables or even the Dynamic Properties object. Instead I am going to write data directly to the properties of the object I need to affect. Within the ActiveX Script I referenced the object I needed to work with and then populated it's properties with the data I could not get into any of the variables. e.g. Dim TextFileSrc Set TextFileSrc = DTSGlobalVariables.Parent.Connections("Text File (Source)") TextFileSrc.ConnectionProperties("Column Names").Value = "Col001,Col002" TextFileSrc.ConnectionProperties("Column Lengths").Value = "5,20" TextFileSrc.ConnectionProperties("Number Of Column").Value = "2" Apparently the properties of these objects can handle more than 4000 characters. I will be more likely to use this approach more often and drop the Dynamic Properties object as well as the use of Global Variables when I can helpl it. Jamie |
![]() |
| Thread Tools | |
| Display Modes | |
| |