Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem regarding INDEX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00009699
Message ID:
00010618
Vues:
37
> >>I've got a problem with the structural index; I will explain it by an = example so it will be easier to understand. >>I create an index in the ascending order then I change in my programs = this order (from ascending to descending) >>but after this I can't know which kind of order this index had before = my change!!! >>So, my question is: there is a way to save or to know the order of my = index before change it? > >One idea might be to use descriptive tags to tell you what the index is.= Like dvar1, avar2, etc., where d=3Ddesc, a=3Dascending. Then use ORDER()= to read the tags and have your program determine what to do next... > > In VFP 5.0 Have you tried the DESCENDING function Returns a logical value that indicates whether an index tag was created with the DESCENDING keyword or whether the DESCENDING keyword was included in USE, SET INDEX, or SET ORDER. Syntax DESCENDING([CDXFileName,] nIndexNumber [, nWorkArea | cTableAlias]) Returns Logical Bob
Bob Gould
Contemporary Software Systems, Inc.
1665 Briargate Blvd, Ste 101
Colorado Springs, CO 80920
719 574 0300
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform