Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with my use of reccount()?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01021449
Message ID:
01021493
Vues:
19
>>I'm not sure I uderstand your question. Anyway, why don't you use
>>SELECT COUNT(*) WHERE < condition > INTO ARRAY laCount
>>* or
>>COUNT FOR < condition >
?
>
>As soon as I sent you my message/question, I thought about the same, why not use COUNT(*). This way, no cursor is created and there will be only one element in the resulting array. I have not thought about COUNT FOR approach. It is probably RUSHMORE optimized too so it should work.

Yes, COUNT FOR will be RUSHMORE optimized if FOR condition is optimizable.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform