Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Index Tag in Descending Order?
Message
 
À
28/06/2001 13:55:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00524342
Message ID:
00524878
Vues:
15
>>I disagree... when passed the index number of the index in question, the value of DESCENDING() indicates whether an index tag was created with the DESCENDING keyword.
>>
>>DESCENDING() -> current order of active index
>>
>>DESCENDING(1) -> create order of 1st index in the cdx
>
>Nope. Try this:
>
>USE _SAMPLES + "TasTrade\Data\Customer"
>SET ORDER TO 1
>?DESCENDING() && Returns .F., as expected
>SET ORDER TO 1 DESCENDING
>?DESCENDING() && Returns .T. = current direction
>?DESCENDING(1) && Returns .T.
>
>* and, in fact,
>SET ORDER TO
>?DESCENDING(1) && Returns .T.
>
>Tamar

I stand corrected :| The help file states that DESCENDING() can determine if an index tag was created in descending order and I thought I observed this behavior in testing, but I was wrong.
Brien R. Givens

Brampwood Systems
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform