you've discovered that FilterValues needs return-delimited list. if your query is using the return between values, then it should work.
ExecuteSQL ( myQuery ; Char(13) ; Char(13) ; my parameters... )
FilterValues would basically the same as
PatternCount ( myList & "¶" ; myValue & "¶" ) // appending the returns to make sure you are testing on the value with a return
Thank you, I changed the delimiter to return and it worked perfectly.