>* First keep on index on dates in DESCENDING order
>index on flddate to tag dates DESC
>set order to dates
>
>seek {}
>count rest to whatever
>
>I have not tried it but may be faster since theres is no FOR or WHILE condition.
>
>Costas
Just a little addition: there's no need to create a separate descending tag, if we have an ascending one already:
set order to dates desc
seek {}
count rest to whatever