![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have a datasource in a data pump for which I wish to dynamically change the source SQL statement. Would the following active-x task code snippet work or is there a better way? Dim oTask Set oTask = DTSGlobalvariables.Parent.Tasks("DTSTask_DTS_Mytas kName") oTask.SourceSQLStatement = "SELECT * FROM AUTHORS" Thanks, Tom |
#2
| |||
| |||
|
|
Ok, well I'll partially answer my question here... Everything works great if I use a dynamic properties task to accomplish this, but, I would like to know how to properly do this in an active-x task. If anyone knows, I would appreciate your reply. Thanks, Tom "Tom" wrote: I have a datasource in a data pump for which I wish to dynamically change the source SQL statement. Would the following active-x task code snippet work or is there a better way? Dim oTask Set oTask = DTSGlobalvariables.Parent.Tasks("DTSTask_DTS_Mytas kName") oTask.SourceSQLStatement = "SELECT * FROM AUTHORS" Thanks, Tom |
![]() |
| Thread Tools | |
| Display Modes | |
| |