Skip to content

Entity_Field_Attribute - cEntity

Include: Use Db\cEntity.pkg

Reads a field attribute by zero-based field index.

Type: Function

Return data type: String

Parameters

Parameter Type Description
iField Integer Zero-based field number.
sAttribute String Attribute name. Lookup is case-insensitive.

Syntax

Function Entity_Field_Attribute Integer iField String sAttribute Returns String

Call

Get Entity_Field_Attribute of hoObj iField "Name" to sValue

Description

Reads a field attribute by zero-based field index. Lookup is case-insensitive. Name is always available and returns the declared or synthesized field name. Missing non-Name attributes return an empty string. Out-of-range field arguments raise a DataFlex error.