Kevin ---
Look at the function of GENDBC() in the \devstudio\vfp\tools (I think) directory...it creates a PRG file that can be run to completely rebuild a DBC. You can always run it, then copy out of the result PRG into whatever rebuild index routine you want.
>I have tried to delete the indexes in a table in a DBC in order to recreate it. The DBC will not work with this.
>
>Does someone have a good sample program for re-creating table indexes in DBC's. Or if you could direct me to a source for intensive info. on DBC recovery/maintenance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05