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 createModel(sourceModelName: STRING) : GENERIC; LOCAL targetModelId : GENERIC; controlId : GENERIC; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError.'); xpxThrow; END_ON_ERROR_DO; targetModelId := xpfCopyModelBN('DataRepository', sourceModelName, 'DataRepository', 'NAME_OF_COPIED_MODEL'); xpxPrintf('\ntargetModelId : %lu',targetModelId); controlId := xpfGetModelBN('DataRepository','NAME_OF_COPIED_MODEL'); xpxPrintf('\ncontrolId : %lu',controlId); IF(controlId :<>: targetModelId) THEN xpxThrow; END_IF; RETURN(targetModelId); END_FUNCTION;
See also
Filter by label
There are no items with the selected labels at this time.