>>>Never use reccount() in this case, always use _tally.
>>>
>>
>>Right, but also add NOFILTER at the end to create a cursor and not a filtered result set.
>
>No, that's not necessary in this case, since Khubaib only want to find the number of matching records.
We don't know the exact code, may be he is going to work with that cursor later.
If it's not broken, fix it until it is.
My Blog