Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compound index with both ascending and descending
Message
De
10/01/2008 16:41:38
 
 
À
10/01/2008 16:37:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01280999
Message ID:
01281001
Vues:
16
>Greetings
>I am attempting to create an index that is both ascending and descending components.
>
>Vendor has to be ascending, PO has to be descending. I tried variations of:
>
>INDEX on vendcode ASCENDING + ponum descending tag vendpo
>INDEX on vendcode + ponum descending tag vendpo
>INDEX on ascending(vendcode) + DESCENDING(ponum) tag vendpo
>SET ORDER TO VENDPO vendcode ASCENDING  ponum descendng
>SET ORDER TO VENDPO vendcode, ASCENDING  ponum descendng
>
>
>This should be a no brainer, but I can't get the syntax correct.
>
>Any Ideas out there???
>
>thanks, Vince

What field types have you got?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform