Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data sorting
Message
De
21/06/2002 21:05:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Data sorting
Divers
Thread ID:
00671286
Message ID:
00671286
Vues:
50
I have a table have the follow fields :

id, color1,color2,color3,color4


I need to sort the the records by color. which means record have the same color should group together. eg.

id,color1,color2,color3,color4

1,black
2,blue,green
3,yellow,green,blue
4,green,blue
5,white

so, the result should be

2,blue,green
4,green,blue
3,yellow,green,white,yellow
5,white
4,black

Because record 2,4 have the colors blue & green, and record 3 have green, and record 5 have notting.

Anyone have idea in how the program so like?

TIA.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform