Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creat Cdx Files By Code
Message
 
 
À
22/06/2002 11:58:15
Hisham Serry
Al-Bahar United Company
Kuwait, Kuwait
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00671370
Message ID:
00671375
Vues:
14
>dear all,
>
>i would like to know how can i creat cdx files from dbf outsite the tables creation time by code, the reasone for that i made long time a go inventory system with pos system using the idx file and now the system become slow so i need to increase the speed of the database by using cdx files while they are in multi user network system.

I doubt that switching from IDX to CDX alone will improve performance. Anyway, to create CDX index you've to open table exclusively and use index command.
USE mytable EXCLUSIVE
INDEX ON <key expr 1> TAG <tag name 1>
INDEX ON <key expr 2> TAG <tag name 2>
...
INDEX ON <key expr 3> TAG <tag name 3>
It'll create a structural index that opens automatically with table.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform