Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting records using select-sql
Message
 
 
À
26/08/2004 20:48:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936513
Message ID:
00936855
Vues:
24
You need a CrossTab for this. Check out FastXTab class in Downloads section here.

>how about this? i want to count all unique comid in table inout. so i try this,
>
>
select count(*), comid from inout group by comid
>
>which gives me,
>
>cnt comid
>1 01
>2 02
>1 04
>
>
>i want it to appear like,
>
>01 02 04
>1 2 1
>
>
>
>
>how will i be able to do that? is there any way i can make the column comid as field names?
>
>pls help. TIA.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform