VERIFY CURRENT DATA FILE

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11


VERIFY CURRENT DATA FILE{ (objects; options; method{; tablesArray; fieldsArray})}

ParameterTypeDescription
objectsNumberObjects to check
optionsNumberChecking options
methodTextName of 4D callback method
tablesArrayNumber arrayNumbers of tables to be checked
fieldsArray2D Number arrayNumbers 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

VERIFY DATA FILE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next