Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
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 May 28th, 2004, 08:13 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DTS Transform Data Task VB Script problem

The objective is to store dBase IV memo field data in a column of data type "image".

In the Data Transform Task VB script, a statement of the form DTSDestination("image-col") = DTSSource("memo-col") fails with a "Run Time Error" (no more specific error info is provided). If the destination column if of data type "text", this statement works fine.

A statement of the form x = DTSSource("memo-col") works. Variable x has as a character string value the contents of the memo field. A subsequent statement of the form DTSDestination("image-col") = x fails with the same "Run Time Error".

How do I cause the character string value from the dBase IV memo field to be assigned as the value of the destination image column?

Note: The reason for using a column of data type "image" is that, after migrating the legacy dBase 4 memo data, any new data stored in the column will be in the form of a Microsoft Word document.

I'm using SQL Server 2000 with SP3.

Thanks in advance for any assistance!






Similar Threads
Thread Thread Starter Forum Replies Last Post
execute xl macro in DTS 2000 activex script task ismailc SQL Server DTS 1 December 14th, 2007 10:14 AM
DTS and ActiveX VB Script gscott SQL Server DTS 6 May 16th, 2007 07:38 AM
Execute Task from ActiveX Script Task PorcupineRabbit SQL Server DTS 1 January 10th, 2006 12:37 PM
Transform Data Task Hide's tables Hal Levy SQL Server DTS 1 April 26th, 2005 11:36 PM
DTS & VB script error [email protected] SQL Server DTS 1 June 5th, 2003 04:34 PM





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