Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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


TypeNameComment
GENERICaggregateIdcomment
INTEGERelementsInAggr 

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.

 

  • No labels