Skip to main content
Version: 20 R7 BETA

VERIFY CURRENT DATA FILE

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

ParameterTypeDescription
objectsIntegerObjects to check
optionsIntegerChecking options
methodTextName of 4D callback method
tablesArrayArray integerNumbers of tables to be checked
fieldsArray2D Integer array, 2D Integer array, 2D Real 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 All (= value 16)
  • options = 0 (log file is created but not timestamped)
  • 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.

If a log file has been generated, its complete pathname is returned in the Document system variable.

System variables and sets

If the callback method does not exist, the verification is not carried out, an error is generated and the system variable OK is set to 0. If a log file was generated, its complete pathname is returned in the Document system variable.

See also

VERIFY DATA FILE

Properties

Command number1008
Thread safe
Modifies variablesOK, Document, error