Question : SSIS Package: Populating global variables from script task

Greetings all! - I'm putting together a SSIS package and the step I'm working on now is a script task which is part of a ForEach Loop container. The task is to read a field from a global recordset and populate a global variable to be used later in another DataFlow task.

I'm pulling data field (Member) from a recordset called CustomerIDRS and need to populate a global variable called MKey. I've been able to pull data using VariableDispenser, but not sure how to access then apply those values to outside variables.

Any code examples someone could share please?

Answer : SSIS Package: Populating global variables from script task

Random Solutions  
 
programming4us programming4us