Record.Field

Syntax

Record.Field(record as record, field as text) as any

About

Returns the value of the specified field in the record. If the field is not found, an exception is thrown.

Example 1

Find the value of field "CustomerID" in the record.

Usage

Record.Field([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "CustomerID")

Output

1