Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 ExecutePackage inner global variables...
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 04/25/2001 :  22:14:45  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
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
msgbox oTask.Name
End If

output: DTSStep_DTSExecutePackageTask_1"
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000