![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a DTS package (DTS#1) that has an ActiveX script that compares two values to determine whether package DTS#2 should be executed or not. Does anyone have an example of how to execute a package from within an ActiveX script or is there a better way to handle this? TIA. Chris. |
#3
| |||
| |||
|
|
You can either use the ExecutePackage task or you can call the object model in you ActiveX script as you mention. Have a look here Execute a package from a package (http://www.sqldts.com/default.aspx?215) -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.SQLIS.com - You thought DTS was good. here we show you the new stuff. www.konesans.com - Consultancy from the people who know "Chris W" <ChrisW (AT) discussions (DOT) microsoft.com> wrote in message news:C8931D6E-61B8-41EC-A6AF-EF3E89E21E60 (AT) microsoft (DOT) com... I have a DTS package (DTS#1) that has an ActiveX script that compares two values to determine whether package DTS#2 should be executed or not. Does anyone have an example of how to execute a package from within an ActiveX script or is there a better way to handle this? TIA. Chris. |
![]() |
| Thread Tools | |
| Display Modes | |
| |