I have a for each loop container that is performing various tasks as it loops through a record set. Some of the values from the recordset are NULL at times and this causes the FELC to fail because it is unable to map the variables that have NULL values.
Is there something I can set to have it accept the NULLS or something I can change about the variables themselves. This is valid data that still needs to be processed. There are other attributes that have data in the record.
Here are samples of my error messages:
Error: ForEach Variable Mapping number 19 to variable "User::varTransactionReference" cannot be applied.
Error: ForEach Variable Mapping number 20 to variable "User::varFlowStartDate" cannot be applied.
Error: ForEach Variable Mapping number 26 to variable "User::varCancelFee" cannot be applied.
Thanks in advance.
SK
SK1000,
The For Each control is weak. There are much better controls
that you can use to process records. Here is 2
web pages that discuss different techniques using different
controls.
This is my web site
http://www.mathgv.com/sql2005docs/SSISTransformScriptETL.htm
This Jamie
Thompson's cool blog.
http://blogs.conchango.com/jamiethomson/archive/2006/09/12/SSIS_3A00_-Checking-if-a-row-exists-and-if-it-does_2C00_-has-it-changed.aspx
Thanks,
Greg Van
Mullem
|||Thanks, Greg. I will look at both options.
SK
No comments:
Post a Comment