So, I've got a confusion.
I have a simple script component. The readonlyVariables line looks like so:
The script itself looks like so:
public void Main()
// TODO: Add your code here
string rd = Dts.Variables["overRideSettleDate"].Value.ToString();
Dts.Variables["settledate"].Value = DateTime.Today.AddDays(-1);
Dts.Variables["settledate"].Value = Convert.ToDateTime(rd);
Somehow or another, this thing is able to set the settledate. I've confirmed it in a msgbox downstream that it's modified from default.
Can anyone tell me why?! This is counter to everything I know about this.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]