Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I check for the number if recods in a table?
Message
From
04/11/1997 12:24:00
 
 
To
04/11/1997 09:40:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058136
Message ID:
00058172
Views:
25
>>I want the count of the table to return empty even if it has
>>records mark as deleted. reccount() ignores set dele on.
>>any ideas?
>
>How about COUNT FOR NOT DELETED() TO lnRecCount?

COUNT will move the cursor to the end of the table.
If you don't want he cursor to move, you could use also:

SELECT Count(*) FROM MyTable WHERE Deleted() = .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform