Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variables in Script task VS Script Component

Status
Not open for further replies.

joe69008

Programmer
Jun 29, 2005
42
0
0
FR
Hi,

How do I reference and modify package scope variables in a script
component (within a data flow task)? I tried copying the syntax I used
in a Script task, but got a "Dts" not declared:

Dts.Variables("User::MESSAGE_ERREUR").Value = ...

Above works in Control flow Script task, but not within a Data Flow
Script component.

I'm simply trying to affect an error message to a variable.
And after, how can i do to read this message_error variable?
Do i use a script component to?

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top