Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reccount()
Message
From
25/08/2016 12:04:49
 
 
To
25/08/2016 11:59:39
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:
01639966
Views:
158
This message has been marked as the solution to the initial question of the thread.
>Reccount() gives a total of all records in a table whether deleted, or not. What is the most efficient way to determine the number of 'not' deleted records?
>
>Many thanks!

You have to count them.
Select count(*) from yourtable where !deleted() into array laDummy
?laDummy
Note that you must have Set Deleted On for this to work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform