I have a database table that contains many attributes, one of which is controlled by a domain of acceptable values.
I have a list containing a unique list of these value
I want to step through this list and each time through the loop select just the records from the table that would be selected if the unique value were inserted into in query:
SELECT * FROM Table WHERE AttribInQuestion = WhateverColor
For instance, "Red" the first time through the loop would return:
I've setup my Reader to read the SQL table I want to query, generated a List of my unique values, and created a TestFilter. The TestFilter works if I just type 'Red' into it, but I cannot figure out how to feed the filter a variable to save my life. I'm not asking about the looping (I've created a custom transformer for that), what I'm asking about is how to insert the 'Red' value into my filter using a variable?
Thank you for any help you can provide.
K