Package.Steps name?

  • I see lots of code like this in ActiveX scripts for DTS packages:

    set pkg = DTSGlobalVariables.Parent

     set stpbegin = pkg.Steps("DTSStep_DTSActiveScriptTask_3")

    What I've not seen explained is howintheheck you know the step is "DTSStep_DTSActiveScriptTask_3".

    It's gotta be simple, I know it, but *how* do you know this is the name?  Where is this?

  • go to the Package in the menu bar

     

    Package --> disconnect edit -->  Steps

    It will list down all the steps in the DTS package  and on the right hand side you can see the description of the step and other properties of the step

     


    Regards,

    Meghana

  • An easier method is to right-click the step/task, choose Workflow -> Workflow Properties, select Options tab and the step name is highlighted at the top.

     

    --------------------
    Colt 45 - the original point and click interface

  • I stumbled upon Phil's method by happenstance late Friday.  Will look at the other method.

    Thanks.

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

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