Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Count
Message
From
05/09/2003 21:27:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00826397
Message ID:
00826682
Views:
21
>>What is the quickest way to get a record count of a table which excludes the deleted records? Is there some function or something which does this quickly, other than set deleted on and copy to, or running through each record and doing a count on ones which are not deleted?
>
>Also, if you add and index on DELETED() in your table, i guess the count will be faster ( not tested, sorry )
>
>Jaime

An index on deleted() can make many other commands slower. It is usually better not to have this index.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform