Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory Order backwards.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01409797
Message ID:
01409825
Vues:
44
>thanks Boris - i am using VFP9 like you.
>
>if i understand 'help' correctly
>
>asort(ladir,3) would sort on date of directory - from the evidence i see displayed running this program,
>the order looks correct now. Is this logical way to proceed?

Yep, but if you wan to add time also, then I suggest you to create a cursor with all 5 columsns and index it as you wish:
CREATE CURSOR crsDirs (cName C(254), Size N(18), LastModified D, TimeLastMod C(8), Attr C(10))
ADIR(laFolders, ....)
APPEND FROM ARRAY laFolders
INDEX ON DTOS(LastModified)+TimeLastMod TAG crsDirs
BROWSE NORMAL
(not tested!!!)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform