Getting Flatfile col data into a variable
I have a flat file with several columns and maybe half a dozen rows
I want the value of the first column of the last row captured in a package variable for other processing.
In the old DTS I ran the data through a transformation from the flat file to a dummy table in tempdb and captured the value for that field via the Active X code inside the transform:
DTSGlobalVariables("DistrictVersion").Value = DTSSource("Col001")
by the time the transform was done I had the last value of 'DTSSource("Col001")' stored in my package variable.
I am stumbling round trying to find an equivalant in SSIS
Vanna Can I Buy a Clue?

