>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)