Searching for matches (text CONTAINS) against a list of possible values

Comments

2 comments

  • Gido

    Hello Tony,

    To "concatenate" all the columns together and iterate through each member of the list looking for matches you could use the following approach:

    Create a LIST

    LIST(#Col1; #Col2; #Col3; #Col4; #Col5)

    and looking up for matches via

    CONTAINS(#List; #AccountNumbers)
    0
    Comment actions Permalink
  • Tony Schullo

    Thanks Gido! So do I need to make my Account numbers a LIST as well? The list will vary and most likely be in a reference table.

    0
    Comment actions Permalink

Please sign in to leave a comment.