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.

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

1