Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reccount()
Message
From
26/08/2016 03:23:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/08/2016 03:18:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01639965
Message ID:
01640014
Views:
89
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform