Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there something faster than COUNT FOR?
Message
From
16/05/1998 16:49:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00099443
Message ID:
00099948
Views:
17
>* 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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform