version 11
VERIFY CURRENT DATA FILE{ (objects; options; method{; tablesArray; fieldsArray})}
| Parameter | Type | Description | |
| objects | Number | Objects to check | |
| options | Number | Checking options | |
| method | Text | Name of 4D callback method | |
| tablesArray | Number array | Numbers of tables to be checked | |
| fieldsArray | 2D Number array | Numbers of indexes to be checked |
Description
The VERIFY CURRENT DATA FILE command carries out a structural check of the objects found in the data file currently opened by 4D.
This command has the same functioning as the VERIFY DATA FILE command, except that it only applies to the current data file of the open database. It therefore does not require parameters specifying the structure and data.
Refer to the VERIFY DATA FILE command for a description of the parameters.
If you pass the VERIFY CURRENT DATA FILE command with no parameters, the verification is carried out with the default values of the parameters:
- objects = Verify Records+Verify Indexes (= value 0)
- options = 0 (log file is created)
- method = ""
- tablesArray and fieldsArray are omitted.
When this command is executed, the data cache is flushed and all operations accessing the data are blocked during the verification.
Note: This command must not be used when a process is creating or updating an index since, in this case, the verification results will not be valid.
See Also