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

Record.HasFields

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

About

Returns true if the field name or field names are present in a record.

Record.HasFields(record as record, fields as any) as logical  

Arguments

ArgumentDescription
recordThe Record to check against.
fieldsA text value or a list of text values.

Examples:

Record.HasFields([CustomerID = 1, Name = "Bob", Phone = "123-4567"],"CustomerID") equals true  
Record.HasFields([CustomerID = 1, Name = "Bob", Phone = "123-4567"],{"CustomerID", "Address"}) equals false  
© 2018 Microsoft