Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old May 28th, 2004, 09:13 AM
Registered User
Join Date: May 2004
Location: Arlington, VA, USA.
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!


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08: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 27th, 2005 12:36 AM
DTS & VB script error kpowers@wppisys.org SQL Server DTS 1 June 5th, 2003 05:34 PM

All times are GMT -4. The time now is 11:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.