How to Recover Corrupt DataBase Container Files (129168)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q129168 SUMMARY
The best way to ensure that you will be able to recover corrupt DBC files
is to use proactive measures, such as frequently backing up the Database
files (both the .DBC and .DCT files). The next best method is to use the
GENDBC.PRG tool located in the VFP\TOOLS\GENDBC subdirectory.
GENDBC.PRG is a utility that generates a custom .PRG file that can then be
executed to re-build the DataBase Container that GENDBC was run against.
The resulting .PRG file, when run, will recreate the DataBase Container to
the state prior to when GENDBC was run against it. Thus it may be necessary
to run GENDBC many times during the development life cycle to prevent loss
of work if the files are damaged.
Modification Type: | Major | Last Reviewed: | 8/13/1999 |
---|
Keywords: | KB129168 |
---|
|