SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

AskSQLTeam
Ask SQLTeam Question

USA
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:
DestinaionTable
Filename
FormatFile

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
Next

output: DTSStep_DTSExecutePackageTask_1"
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000