dbTalk Databases Forums  

Trying to set a destination column to a string variable

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Trying to set a destination column to a string variable in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff York
 
Posts: n/a

Default Trying to set a destination column to a string variable - 09-20-2004 , 11:55 AM






Here is my transform. What I am trying to do is set a source column to a
string variable. I get an error -object required: String: "Tlowe"
I am not real great with VBS. Any help is appreciated. Thanks!

Function Main()

DIM MyVar
Set MyVar= "TLOEWE"

DTSDestination("Col004")=DTSSource("MyVar")

Main = DTSTransformStat_OK
End Function


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.