I have a simple VFP5 app, running on about thirty machines, that is continually failing because of a corrupt .cdx file.
It has single record, one C(9) field, table to enter the info to look up, which is linked to two others tables by that field.
After entering one part number, I have to 'shake' it a little to get the proper results to show in their respective grids. Which I do by reindexing the single entry table.
This works fine until a power spike, brownout or power failure occurs. Since most users have this app running 90% of the time, the index file associated with the single entry table is corrupted(filesize 0 bytes) when anything happens to the power.
Is there a way to stabilize FoxPro, or do I need the overwrite that file each time the program is started?
Stabilizing the index file would be the preferred long-term fix.
Thanks in advance.
Pat
It has single record, one C(9) field, table to enter the info to look up, which is linked to two others tables by that field.
After entering one part number, I have to 'shake' it a little to get the proper results to show in their respective grids. Which I do by reindexing the single entry table.
This works fine until a power spike, brownout or power failure occurs. Since most users have this app running 90% of the time, the index file associated with the single entry table is corrupted(filesize 0 bytes) when anything happens to the power.
Is there a way to stabilize FoxPro, or do I need the overwrite that file each time the program is started?
Stabilizing the index file would be the preferred long-term fix.
Thanks in advance.
Pat