Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command or function to force cdx file update
Message
From
02/03/2004 05:23:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
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:
00882278
Views:
17
>Hi all,
>Is there a function that forces VFP to update its cdx files since flush only updates table header and not cdx header?
>Thanks in advance
>Yau

I haven't seen specific documentation on this issue, but it seems to me, from experience, that FLUSH does indeed flush both the table and the index (and probably the memo file, too). After using FLUSH conveniently, I had almost no corruption problems, including index corruption.
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform