Force the address table of the records to be rewritten (slows down compacting). Note that in this case, record numbers are rewritten. If you only pass this option, 4D automatically enables the ’Update records’ option.
Create process
Longint
32768
When this option is passed, compacting will be asynchronous and you will need to manage the results using the callback method (see below). 4D will not display the progress bar (it is possible to do so using the callback method). The OK system variable is set to 1 if the process has been launched correctly and 0 in all other cases. When this option is not passed, the OK variable is set to 1 if the compacting takes place correctly and 0 otherwise.
Do not compact index
Longint
2
Do not create log file
Longint
16384
Generally, this command creates a log file in XML format (refer to the end of the command description). With this option, no log file will be created.
Move to replaced files folder
Longint
4
New file
Longint
0
New file dialog
Longint
1
Renumber records
Longint
1
Timestamp log file name
Longint
262144
When this option is passed, the name of the log file generated will contain the date and time of its creation; as a result, it will not replace any log file already generated previously. By default, if this option is not passed, log file names are not timestamped and each new file generated replaces the previous one.
Update records
Longint
65536
Force all records to be rewritten according to current definition of the fields in the structure
Use default folder
Longint
1
The data of the field passed as parameter are saved in the default folder, named databaseName.ExternalData and placed next to the data file. In this mode, external data are managed by 4D as if they were inside the data file.
Use selected file
Longint
2
Use structure definition
Longint
0
4D uses the parameters set in the structure for field storage (see the Design Reference manual). If you change from external storage to internal storage, the external file is not deleted.
Verify all
Longint
16
Verify indexes
Longint
8
This option checks the physical consistency of the indexes, without any link with the data. It signals invalid keys but does not permit you to detect duplicated keys (two indexes that point to the same record). This type of error can only be detected with the Verify All option.