Ask SQLTeam Question
Posted - 04/25/2001 : 22:14:45
| John writes "Platform: SQL Server 2000 DTS/Win 2000
Within an ActiveX script I am trying to dynamically set three inner global variables for an 'Execute Package Task' with the description ExecPackage defined in my DTS designer. This task calls a reusable package with Dynamic Properties Task that defines Bulk Inserts properties. I have reviewed the DTS object model within the SQL Server 2000 DTS book(Mark,Brian,Todd) and looked at some examples but to no avail found the correct syntax for setting these inner global variable values. In fact, besides the gui examples I found nothing on VBScript and inner global variables in any articles. Any thouhgts?
Inner global variables:
I was able to step through and identify the Execute Package Task name only:
For Each oTask In oPkg.Tasks
If oTask.Description = "ExecPackage" Then