Checking for duplicates in a listappend
At certain points I add values into a variable using listappend, might be a single digit, might be a valuelist of numbers from a cfquery result.
The question I have is, does anybody know of a simple way to make sure that duplicates are not added to the list?
Apart from looping over the results of the cfquery and then checking each one to see if it is in the list and if not then adding it.
I'm wondering if CF8 has anything built in that I have overlooked?
Thanks
Mark
