Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RecCount() And Filters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00531079
Message ID:
00531111
Vues:
12
>>I've been wondering this for a while: Is there an accurate way to determine how many records are in a filtered table? RecCount() doesnt' work, it's not affected by filters. _TALLY doesn't work, Filters aren't an SQL command. (or at least Set Filter To isn't).
>>
>>What am I missing? Surely you don't have to select it to a cursor to find out how many were returned?
>>
>>TIA!
>
>* Set your filter somewhere
>set filter to docnumber = 'ADL'
>locate
>
>* What is filter to get count
>lcfilter = SET('filter')
>count for &lcfilter to lnHowManyFilteredRecordsAreThere

Thanks Bret, I should have thought of that!
Scott
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform