Category:
Database related
General
Returns a value of a dataset field.
Syntax
dataset_field_val(
StepNo Integer,
FieldName String
): <FieldType>
dataset_field_val(
StepNo Integer,
FieldIndex Integer
): <FieldType>
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 which value to return.
FieldIndex is the index (i.e. sequence number in the field mappings collection) of the field which value to return.
Return value
Type: <FieldType> (depends on the database field type).
Examples of using
dataset_field_val(1, 'CustomerName')