Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
| Search | Today's Posts | Mark Forums Read
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 22nd, 2005, 08:41 AM
Registered User
Join Date: Aug 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing DTS scripting object in ActiveX script.

I want to access DTS scripting object (i.e DTSTransformPhaseInfo)
In my DTS ActiveX Script task, here is the code snippet...

dim fso
dim objStream

const OUTPUT_FILE = "c:\CSVstatus.txt"
set fso= CreateObject("Scripting.FileSystemObject")

set objStream = fso.OpenTextFile(OUTPUT_FILE, 2, true)

Function InsertSuccessMain()
objStream.WriteLine("Status : " &
     InsertSuccessMain = DTSTransformstat_OK
End Function
Here I am getting
Object required: 'DTSTransformPhaseInfo'
Error message while executing the DTS package. As I am not much aware of this DTS framework. Please give me some idea how to access these DTS scripting object in ActiveX script.

Thanks in advance
- Pankiom

Similar Threads
Thread Thread Starter Forum Replies Last Post
DTS Visual Basic ActiveX Script jemacc SQL Server DTS 4 November 28th, 2007 06:11 PM
dts - formatting excel sheet using activex script Najmunnisha SQL Server DTS 2 May 17th, 2007 10:27 PM
DTS and ActiveX VB Script gscott SQL Server DTS 6 May 16th, 2007 07:38 AM
DTS Problem with ActiveX Script testsubject SQL Server DTS 1 December 23rd, 2005 05:11 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.