Skip to main content
Version: 21 R4 BETA

VERIFY CURRENT DATA FILE

VERIFY CURRENT DATA FILE ({ objects : Integer ; options : Integer ; method : Text {; tablesArray : Integer array {; fieldsArray : Integer array}} })

ParameterTypeDescription
objectsInteger→Objects to check
optionsInteger→Checking options
methodText→Name of 4D callback method
tablesArrayInteger array→Numbers of tables to be checked
fieldsArrayInteger array→2D array, numbers of indexes to be checked
History
ReleaseChanges
15 R3Modified
11 SQL Release 4Modified
<6Created

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 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 safeyes
Modifies variablesOK, Document, error