Home All Groups Group Topic Archive Search About

[SQL2000] How to retrieve this value in activex?

Author
7 Jul 2006 3:00 AM
Sphenixs
This is the code where I retrieve the value from the task

'**********************************************************************
'  Visual Basic ActiveX Script
'************************************************************************

Function Main()

Dim DTS, ExecSQL, SQLStatement
  Set DTS = DTSGLOBALVARIABLES.Parent

  Set ExecSQL = DTS.Tasks("DTSTask_DTSExecuteSQLTask_1").CustomTask

  DTS.Tasks("DTSTask_DTSExecuteSQLTask_1").CustomTask.connectionID = 4
..
..
..

End Function

but how to retrieve the value from transformation in activex?
http://img.photobucket.com/albums/v220/sphenix/288162fd.jpg

Author
7 Jul 2006 6:44 AM
amish
Sphen***@gmail.com wrote:
Show quoteHide quote
> This is the code where I retrieve the value from the task
>
> '**********************************************************************
> '  Visual Basic ActiveX Script
> '************************************************************************
>
> Function Main()
>
> Dim DTS, ExecSQL, SQLStatement
>   Set DTS = DTSGLOBALVARIABLES.Parent
>
>   Set ExecSQL = DTS.Tasks("DTSTask_DTSExecuteSQLTask_1").CustomTask
>
>   DTS.Tasks("DTSTask_DTSExecuteSQLTask_1").CustomTask.connectionID = 4
> .
> .
> .
>
> End Function
>
> but how to retrieve the value from transformation in activex?
> http://img.photobucket.com/albums/v220/sphenix/288162fd.jpg

You can get better and immediate answer at DTS news group
try at microsoft.public.sqlserver.dts

Regards
Amish Shah
Are all your drivers up to date? click for free checkup

Author
7 Jul 2006 6:57 AM
Sphenixs
I guess wrong section :)
thanks



Post Thread options