Entity_Relation_Attribute - cEntity¶
Include: Use Db\cEntity.pkg
Reads a relation attribute by zero-based relation number.
Type: Function
Return data type: String
Parameters¶
| Parameter | Type | Description |
|---|---|---|
iIndex |
Integer | Zero-based relation number. |
sAttribute |
String | Attribute name. Lookup is case-insensitive. |
Syntax¶
Function Entity_Relation_Attribute Integer iIndex String sAttribute Returns String
Call¶
Get Entity_Relation_Attribute of hoObj iIndex "Name" to sValue
Description¶
Reads a relation attribute by zero-based relation number. The parameter name is iIndex in the public signature. Lookup is case-insensitive. Name is always available and returns the declared name or the stringified zero-based relation number. Missing non-Name attributes return an empty string. Out-of-range relation arguments raise a DataFlex error.