Are you trying to compare them to remove duplicates? If so you could combine the list and use ListRemoveduplicates<http://www.openbd.org/manual/?/function/listremoveduplicates> On Thursday, June 14, 2012 6:36:56 AM UTC-7, Derrick wrote: > > Hmmmm, > > I am currently working with two lists in an application and had a thought. > May not be an original thought but a thought nonetheless. :) > > Has anyone ever had a need to compare two lists? For instance lets say > you have the following lists and you want to know if any items from List1 > exists in List2: > > > - List1: item1, item2, item3 > - List2: item2, item3, item4, item5 > > Wouldn't it be nice to be able to do something like this: > ListCompare(List1,List2,',')? Possible results: > > - Returns 1 if any value in List1 is in List2. > - Returns 0 if none of List1's values are in List2 > > Thoughts... > > As i was typing this a co-worker shared this link with me: > http://www.cflib.org/udf/listCompare. I can easily implement something > like this, but the question is would the OpenBD Team be willing to add a > flavor of this as a built in List function? >
-- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
