4D v14.3

Data File Maintenance

Home

 
4D v14.3
Data File Maintenance

Data File Maintenance 

 

Constant  Type Value Comment
Compact address table  Longint 131072 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  
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.
Verify records  Longint 4  
 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
SEE ALSO 

Compact data file
SET EXTERNAL DATA PATH
VERIFY DATA FILE

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)