Inserting Package Name Into Global Variable

  • Can you put the name of a package into a global variable?

    Thanks

  • This was removed by the editor as SPAM

  • We use an ActiveX script task to set a global varible to the system date. Maybe you could set the package name this way too?

    Example

    '**********************************************************************

    ' Visual Basic ActiveX Script

    '************************************************************************

    Function Main()

    Main = DTSTaskExecResult_Success

    End Function

    DTSGlobalVariables("packagename").value = "test_package"

  • try in activex script

    DTSGlobalVariables("PackageName") = DTSGlobalVariables.parent.name

    But DTSGlobalVariables.parent.name will give you the package name in any part of the package without setting a global variable.

  • Thanks for the info, I'll give it a try

Viewing 5 posts - 1 through 4 (of 4 total)

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