xpxGetMemberCount
FUNCTION xpxGetMemberCount(aggregateId : GENERIC; VAR elementsInAggr : INTEGER) status : INTEGER;
The xpxGetMemberCount function returns the number of elements in the specified persistent aggregate aggregateId in the argument elementsInAggr.
Arguments
Type | Name | Comment |
GENERIC | aggregateId | comment |
INTEGER | elementsInAggr |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
Options
Example
FUNCTION getMemberCount(modelId : GENERIC; entityName : STRING) : INTEGER; LOCAL extentId : GENERIC; members : INTEGER; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError.'); xpxThrow; END_ON_ERROR_DO; xpxGetEntityExtentBN(modelId,entityName,extentId); members := xpfGetMemberCount(extentId); xpxPrintf('\n%d Members in model.',members); RETURN(members); END_FUNCTION;
See also
Filter by label
There are no items with the selected labels at this time.