Occasionally, Logistics repair automatically a corrupted table when opened.
If it's not the case then the following procedure repair the corrupted table.
Go to menu Utilities > Macro command and type the following command in the Order tab :
USE "c:\temp\dochead" EXCLUSIVE |
Next click on the DO button.
This message confirms that the table is well corrupted.
In the same screen, type the following command and next click on the DO button :
SET TABLEVALIDATE TO 0 |
And retry the opening table with the following command :
USE "c:\temp\dochead" EXCLUSIVE |
At this step, if the table isn't opened then the problem is more serious. And in this case, this table must be sent at Logistics team to repair with appropriate software.
Otherwise, if the table is well opened then move to the step 3.
Type the following command and next click on the DO button :
PACK |
This operation forces to rewrite the head of the DBF file.
At this step, the table has been opened in exclusive thank to the mode without controls when opening.
Add a record in this table with the following command :
append blank |
If there is the following message then it's well an index problem. Otherwise it's an other problem and so this table must be sent at Logistics team.
Re-click on theĀ DO button to force the add of a record. And test this added record by viewing the table with these two commands :
go bottom |
After :
browse normal |
Delete empty record(s) at the end of the file by checking the cell of the first column. This first cell becomes black.
Exit this browse window with the cross.
Next, regenerate the CDX file with this command :
REINDEX |
The CDX file has been regenerated.
Quit Logistics and next remake the step 1. Now the table should be correctly opened.
Execute a database update with the menu Utilities > Database > Updating. This operation re-indexes also all others files.