Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reccount()
Message
De
26/08/2016 03:23:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/08/2016 03:18:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01639965
Message ID:
01640014
Vues:
99
>>Works like a charm - thanks Tore!
>
>You also have an intermediate option between Tore's and Mikes's:
>
>
>SELECT YourTableAlias
>COUNT TO lnLive FOR NOT DELETED()
>
The nice thing about this is that it works regardless of set("deleted"). The contrary is funny, though - count for deleted() will return zero if deleted is on, and the actual count when off. Which is something that can confuse any beginner (or an oldster who forgets about how set deleted works).

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