Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count the records
Message
De
15/04/2008 02:17:30
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01310624
Message ID:
01310629
Vues:
21
Khubaib;
try something like
SELECT;
 Cur1.Category,;
 COUNT(*) AS nCount;
 FROM YourCursor AS Cur1;
 INTO CURSOR curCount;
 WHERE Cur1.Category=='A';
 GROUP BY 1
Agnes
>in my filed (category) records as=A,B,C,A,A,A
>I want to count the records.
>if A,A,A is replaced continuously
>SELECT date,code,lcode,sec, ;
> CAST(sum(IIF(category=="A",1,0)) AS I)	A is 3
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform