Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pazzy11
Posting Yak Master
145 Posts |
Posted - 2008-02-20 : 06:49:41
|
Dim RootFolder As String RootFolder = DTSGlobalVariables("gRootFolder")I have an error that RootFolder is not being declared with this ?but it is , why is .NET such a heap of sh*t ? |
|
rgombina
Constraint Violating Yak Guru
319 Posts |
Posted - 2008-02-20 : 06:54:43
|
Dim RootFolder As StringRootFolder = Dts.Variables("gRootFolder").Value.String 'Script TaskDim str As Stringstr = "new string value here"Variables.gRootFolder = str 'Script ComponentMake sure both are declared in the ReadWriteVariables = gRootFolder |
 |
|
|
|
|