dts.variables in vb-script task

  • Hi!

    I've got a package with 1 Dataflow-Task and a script task and a global variable named "test". The scope ist on the package.

    In the first dataflow-task i have a oledb connection and e "row count" task. In the adva. editor i set the custom property Variablename to test.

    The script task have to look up the variable "test". I tried this with

    msgbox dts.variables("test").value

    But i get an exception.

    Can enyone explain me?

    Thanks

    Chris

  • ok, got it.

    Had to set ReadWriteVariables Property to the variable.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply