Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records satisfied the filter criteria - how to count?
Message
From
04/04/2000 23:26:58
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00355073
Message ID:
00355477
Views:
17
Nadya,

One more way:

SELECT ;
SUM(IIF(MeetsCondition1, 1, 0)) AS NumRecordsWhichMeetCondition1, ;
SUM(IIF(MeetsCondition2, 1, 0)) AS NumRecordsWhichMeetCondition2, ;
etc.


I use this a lot to make counts in columns.


>Hi everybody,
>
>Just wondering is there a way to count records, which met the criteria, without using COUNT FOR FilterCondition TO lnFilteredRecords?
>
>Thanks in advance
Previous
Reply
Map
View

Click here to load this message in the networking platform