Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto check for existing index
Message
 
À
14/10/2000 00:22:21
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00429490
Message ID:
00429491
Vues:
13
Peter,

Indexes in VFP are always in only one order. The ascending or descending sequence just controls the way VFP reads the index. For your situation, assuming your index tag is named DateOrder, you would in y9our button's click event;
* Button's click
IF DESCENDING("DateOrder")
   SET ORDER TO DateOrder ASCENDING
ELSE
   SET ORDER TO DateOrder DESCENDING
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform