Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of undeleted records in a table
Message
De
28/09/2004 17:20:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00946531
Message ID:
00946951
Vues:
17
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform