Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command or function to force cdx file update
Message
 
 
To
02/03/2004 03:04:39
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00882264
Message ID:
00882337
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform