Record.Field

Last updated 4 months ago

Record.Field

Returns the value of the specified field in a record.

function (record as record, field as text) as nullable any

Description

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

Category

Record.Selection

Examples

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

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

1