Entity_Relation_Has_Attribute - cEntity¶
Include: Use Db\cEntity.pkg
Tests whether a relation attribute is available.
Type: Function
Return data type: Boolean
Parameters¶
| Parameter | Type | Description |
|---|---|---|
iIndex |
Integer | Zero-based relation number. |
sAttribute |
String | Attribute name. Lookup is case-insensitive. |
Syntax¶
Function Entity_Relation_Has_Attribute Integer iIndex String sAttribute Returns Boolean
Call¶
Get Entity_Relation_Has_Attribute of hoObj iIndex "Name" to bHasAttribute
Description¶
Tests whether a relation attribute is available. The parameter name is iIndex in the public signature. Lookup is case-insensitive. Name is always available; missing non-Name attributes return False. Out-of-range relation arguments raise a DataFlex error.