I have read everything I can get my hands on about recovering from CDX file corruption and I have written code that turns off the CDX present bit in the file header, deletes the CDX and uses FAQ1033 logic to re-build the index. I am using a DBC not free tables in VFP8. All works fine until I go to USE the table to recreate the CDX and then I get "Primary key property invalid, please validate database." Since you cannot validate when running a procedure (it wouldn't let me and I really don't want the end users to have to do that anyway) is there a way to get the table open to reindex it and create the new CDX? I do not have Stonefield Database Toolkit, yet!
Thanks,
Rich
Thanks,
Rich