Category:

Database related

General

Converts an array of bytes from a dataset field to a string in hexadecimal representation. The result starts with 0x.

This function should apply only to BINARY, BYTES, or BLOB fields, otherwise error may occur.

Syntax

dataset_field_hex_val(
  StepNo Integer,
  FieldName String 
): String
dataset_field_hex_val(
  StepNo Integer,
  FieldIndex Integer 
): String

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: String.

Examples of using

dataset_field_hex_val(1, 'Score')