dbTalk Databases Forums  

Active X Script Error

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


Discuss Active X Script Error in the microsoft.public.sqlserver.dts forum.



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

Default Active X Script Error - 04-24-2008 , 08:06 AM






Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?


Reply With Quote
  #2  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM






How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #3  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #4  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #5  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #6  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #7  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #8  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



Reply With Quote
  #9  
Old   
Tomasz Borawski
 
Posts: n/a

Default RE: Active X Script Error - 05-02-2008 , 09:23 AM



How are you executing DTS package? Can you send me cmd line?

"Broonie" wrote:

Quote:
Hi THere,

I am attempting to insert a constant value into a column during a DTS.
Looking elsewhere on the web I found the following code that would
allow me to do this:

DTSDestination("columnName") =
DTSGlobalVariables("GlobalVariableName").Value

I've set up a global variable in the DTS called Test (it's of type
int) and given it a value of "3" and created a new Active X
transforation for my destination column. However when i run the DTS i
get an error saying my function has "returned an invalid
DataTransformStatus or an Active X script did not return an integral
type"

What wrong?



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.