Table of contents
TOC
Collapse the table of content
Expand the table of content

Record.Field

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns the value of the given field. This function can be used to dynamically create field lookup syntax for a given record. In that way it is a dynamic verison of the record[field] syntax.

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

Arguments

ArgumentDescription
recordThe record to check.
fieldThe field to obain the value for.

Example

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