Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to Combine Ascending and Descending Indexes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Need to Combine Ascending and Descending Indexes
Divers
Thread ID:
00190759
Message ID:
00190759
Vues:
53
Greetings!

I need to set up an index to sort records using a mix of ascending and descending orders, using character fields.

I recall this could be done using the SYS(15) function ("included for backward compatibility"). I've done it before, but now do not remember how! Apparently, the list of fields in the sort order would include something like "SYS(15, "ZYXW...", field)". This would cause the field to be sorted in descending order by substituting each character--a "Z" for an "A", "Y" for "B", and so forth.

However, it does not work. Does anyone else know how to do this?

Thanks!

Michael Reynolds
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform