Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto check for existing index
Message
De
14/10/2000 00:22:21
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Auto check for existing index
Divers
Thread ID:
00429490
Message ID:
00429490
Vues:
39
I have a program I want to distribute. I have it in a couple sample installations. In this program
there is a form that is simply a listbox displaying records from a table. These records are in date
order. I need to be able to switch the order from sequential to reverse sequential.

I have one index ascending on this file. On the form right now, the file is listed in the DE and the
ORDER is set for this index. What is the best way to switch this once I create a button
to control the switch?

Should I add a second index to the file? If I do, how do I programatically do it for installed
installations? I suppose in my MAIN.PRG file I can check to see if the new index exists and if
it doesn't I can create it somehow - how do I check, how do I create it?

Should I just control it programattically in the form? How?
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform