Answered
Comparing lists
Hello
I'm trying to compare 4 lists (valuelists) and didn't really find an efficient way yet.
My lists are p.e.
<4,5,8,6,3,2,7>
<1,2,3,8>
<8,1,2,3>
<3,5,4,9,2,8>
I would like a list with the values which occur in each of the four lists, like:
<2,3,8>
For the moment I create a query with the first list and then use SQL (see sample code) to get my result, but this seems very complicated to me. Is there an easy way in CF?
Thanks for hints
I'm trying to compare 4 lists (valuelists) and didn't really find an efficient way yet.
My lists are p.e.
<4,5,8,6,3,2,7>
<1,2,3,8>
<8,1,2,3>
<3,5,4,9,2,8>
I would like a list with the values which occur in each of the four lists, like:
<2,3,8>
For the moment I create a query with the first list and then use SQL (see sample code) to get my result, but this seems very complicated to me. Is there an easy way in CF?
Thanks for hints
