User Manual:
Repair / Data Recovery
4D Tools (Emergency Recovery)
Table of Contents

For Windows 2000, XP & Macintosh OS 10.3 greater only:
Download 4D Tools, click the platform to start download:

For Windows 98, ME & Macintosh OS 9 - 10.2.8 only:
Download 4D Tools, click the platform to start download:


We recommend that you use 4D Tools maintenance features regularly. The information about the status of the data file as well as the different checks help you to verify the integrity of the data file.

You can also check the status of the data as needed, for example after a power failure or a system crash. Use the permanent sort feature if you want to sort your records in a different order than the order that was created as the data were entered. This feature is normally used only after all the data have been entered.

It is also important to compact the data regularly, in particular when you add many records and then delete them. 4D Tools indicates whether compacting is necessary based on the degree of fragmentation of the data file.


In general, you should use the 4D Tools repair features only on request by Landlord Report or 4D Tools; e.g., if either program displays an alert box indicating that the data has to be repaired.

This alert can appear when Landlord Report opens the database or after a check by

1) Double-click on the 4D Tools application icon. A standard open file dialog box appears.

(Change the type to compiled database or custom document)

2) Select and open the Landlord Report.

3) Select the Other button and more options will be presented.

The Repair page contains the tools that you use to repair a damaged data file.

4) Select the option called Recover by Tags (Go to the Repair tab and press Recover by tags)

This option should be used only on request by 4D Tools, when a file is seriously damaged.

Please note that this option builds a new data file rather than repairing the original one. You must have enough free space on your hard disk to store a new copy of the data file.

Clicking the Recover... button opens a standard save file dialog box where you can choose the name and location for the new “repaired” data file (by default, the suffix _2 is added):

5) Save as "LandlordReport_2", press save

The program also renames the original file by replacing the last letter by the “_” character. You cannot replace the original file. Make sure there is enough space for the new file on your disk (preferably, double the original file’s size). In a data file recovered by tags, some records may be deleted because they were damaged. Conversely, records already deleted may reappear if the option Completely Deleted was not selected in the table properties window.

6) Quit 4D Tools

9) Start the Landlord Report.

Click here for the 4D User Reference Manual

Click here for the 4D Write User Reference Manual