Category:

Database related

General

Returns the presence of the field in the dataset.

Syntax

dataset_field_exists(
  StepNo Integer,
  FieldName String
): Boolean

Parameters

StepNo specifies the export step, in which the function must be calculated. It is used in HTML export context only; in other cases this parameter is ignored.

FieldName is the name of the field to check.

Return value

Type: Boolean. Returns True, when the field is present in the current dataset, and False in other cases.

Examples of using

dataset_field_exists(1, 'Salary')