Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best index way
Message
De
11/12/2006 12:23:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01176574
Message ID:
01176595
Vues:
11
>hi all
>I use cdx file for indexing. If other way to indexing please tell me
>
>Use student
> Index On descr Tag descr
> Index On code Tag code
> Index On lcode+descr Tag lvldes
> Index On surn Tag surn
> Index On scode Tag scode
> Index On lcode Tag lcode
> Index On sex Tag sex
> Index On fname Tag fname
> Index On joind Tag joind
> Index On dbirth Tag dbirth
> Index On roll Tag roll
> Index On tobt Tag tobt
> Index On mont Tag mont
> Index On ldate Tag ldate
> Index On aattend Tag aattend
>Index On scode+lcode+sec Tag sls
>

I create all my indices with the MODIFY STRUCTURE command.

To update changes to the database - new fields, changes in indices, etc. - I use the following method:

All changes to the database are done in a copy of the database that has zero records. To merge (combine) this with the user data, I have a program that does an APPEND FROM for each table.

This is done in temporary folders, and then copied back to the location of user data.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform