Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command or function to force cdx file update
Message
 
 
À
02/03/2004 03:04:39
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00882264
Message ID:
00882337
Vues:
19
Yau,

>Is there a function that forces VFP to update its cdx files since flush only updates table header and not cdx header?

Close the table: use in TheTable

Despite Fabio's loud proclamation of no, he's only talking about seeing the cdx achieving a filesize as far as the O/S is concerned. While the table is open VFP and the O/S is going to have the CDX in cache and/or disk as it needs. Yes, if your machine crashes between time you create the index tag and close the table you will corrupt the index. Also, since the CDX is derived from content of the DBF it is not much of an issue to recreate it.

This is exactly like every other program, If you open a document in a word processor and begin adding to the document if the machine crashes you lose your changes.

Are you experiencing some problem in particular?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform