tomatdeepwater
Programmer
I have a process that queries an external API for data that is in a "flat file" format. Unfortunately, the other source only transfers its data one column at a time.
My pre-processing (prior to DTS) takes and writes the data out into text files in a known directory with names like "1.txt" for the first column, "2.txt" for the second, etc.
My DTSDatatransform is set to write the columns to a temporary table that contains all of the columns of the external data source. I have named these columns "a1", "a2", etc.
My ActiveX script works very well to import each column and put it into the correct field in my temp table. As the ActiveX script copies a text file to its corresponding column, it picks up the next file, determines the correct column and starts updating the new field.
PROBLEM: When the ActiveX process completes copying to the temp table and goes to get another file, it does not reset the row of the temp table to Row 1.
The data in the temp table will look something like this:
a1 a2 a3
-----------------------
1 null null
2 null null
null 3 null
null 4 null
null null 5
null null 6
Does anyone know how to RESET the Destination Table Row postion?
Thanks,
My pre-processing (prior to DTS) takes and writes the data out into text files in a known directory with names like "1.txt" for the first column, "2.txt" for the second, etc.
My DTSDatatransform is set to write the columns to a temporary table that contains all of the columns of the external data source. I have named these columns "a1", "a2", etc.
My ActiveX script works very well to import each column and put it into the correct field in my temp table. As the ActiveX script copies a text file to its corresponding column, it picks up the next file, determines the correct column and starts updating the new field.
PROBLEM: When the ActiveX process completes copying to the temp table and goes to get another file, it does not reset the row of the temp table to Row 1.
The data in the temp table will look something like this:
a1 a2 a3
-----------------------
1 null null
2 null null
null 3 null
null 4 null
null null 5
null null 6
Does anyone know how to RESET the Destination Table Row postion?
Thanks,