Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asort by specific column in a multi-dimensional array
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00539014
Message ID:
00539021
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>Hi everyone,
>
>I have lnFields=afields(laFields). I want to have all fields sorted alphabetically. How can I do it in VFP6.0? Is this function improved in VFP7.0?
>
>Thanks in advance.
Following works in any version
lnColumn = 3    && by size
lnColumn = 1    && by name 
=ASORT(laFields, lnColumn)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform