Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking index
Message
De
16/04/2003 07:02:31
 
 
À
16/04/2003 01:14:06
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00778188
Message ID:
00778246
Vues:
27
Hi Jimi Lee

You can use the following code the Automatically Re-Index the Table, U could fine tune as per your requirement.

TDBF=ADIR(DATAF,"*.DBF")
FOR I=1 TO TDBF
Filereindex=DATAF(I,1)
Use DATAF(I,1) EXCLUSIVE
If Used()
Reindex
Endif
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform