![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
In article <1C55822F-1425-48E9-A17E-9B3489EF0CB1 (AT) microsoft (DOT) com>, Jeff York wrote: 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 So this value will be effectively a constant right ? You cannot set a source column in an Active X transform. Do you want to assign this to a destination? DTSDestination("Column Name") = "Hello World" I am not sure what exactly you want to do . -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know |
#2
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |