Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need idea for sort
Message
De
26/02/2010 07:43:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
26/02/2010 06:19:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01451160
Message ID:
01451197
Vues:
38
You mean somefunc? Yes. But I would end up with 21 sort fields.

>What I call yourfuncx() could probably be inline functions.

>>>I suggest that you select into a cursor, something like this semicode
>>>Select *,;
>>>  somefunc1(yourfield) as sort1,;
>>>  somefunc2(yourfield) as sort2,;
>>>  somefunc3(yourfield) as sort3,;
>>>  somefunc4(yourfield) as sort4;
>>>  from yourtable into cursor yourcursor order by sort1,sort2,sort3,sort4
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform