I create a clone of the main RS and want to filter it. I built the code to step through an array.

<code>
byteslice=trim(cstr(splitdata(i)))
FilterX= "distinct " & byteslice
objrst_filter.filter= FilterX
</code>

I need to filter for distinct entries. Can this be done? The system error says its the wrong arguement type etc....