Recover method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
procedure Recover(NewFileName : string);

Description
The Recover method checks for QDB files that were not closed properly by a previous QDB component (see OrphanToRecover). If Recover finds such orphaned files, and the current QDB component is not already working on a QDB file, the orphans will be reconstituted as a new QDB file called NewFileName. It is the programmers responsibility to ensure NewFileName is appropriate.

Note, however, that the recovered QDB file will only reflect the state of the file when last saved -- intermediate modifications are lost.