Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of undeleted records in a table
Message
From
28/09/2004 17:20:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00946531
Message ID:
00946951
Views:
18
>How can I quickly count the number of undeleted records in a table?

"Undeleted" as in "not deleted", or as in "deleted and then recalled"? The others have answered the first case; for the latter:
set deleted off
recall for (your condition here)
?_tally
set deleted on
You have to save the value of _tally immediately after Recall, otherwise it will change as soon as you issue any other command which may operate on more than one record (count, delete, replace, update, select, list, copy...).

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