Hi
Looking at the following code
----------------------------------------
Function Main()
dim RS
'Create Record set
set RS = CreateObject("ADODB.Recordset")
set RS = DTSGlobalVariables("gCampaigns").value
DTSGlobalVariables("gCampaignID").value = RS.Fields("code")
DTSGlobalVariables("gCShortName").Value = RS.Fields("shortname")
'Go to next row
RS.MoveNext
'Success
Main = DTSTaskExecResult_Success
End Function
----------------------------------------
RS.Fields ? Fields ? is this a built in object of ADODB ?
Looking at the following code
----------------------------------------
Function Main()
dim RS
'Create Record set
set RS = CreateObject("ADODB.Recordset")
set RS = DTSGlobalVariables("gCampaigns").value
DTSGlobalVariables("gCampaignID").value = RS.Fields("code")
DTSGlobalVariables("gCShortName").Value = RS.Fields("shortname")
'Go to next row
RS.MoveNext
'Success
Main = DTSTaskExecResult_Success
End Function
----------------------------------------
RS.Fields ? Fields ? is this a built in object of ADODB ?