QPR Knowledge Base 2019.1

GetScorecards

GetScorecards

Previous topic Next topic  

GetScorecards

Previous topic Next topic  

Revision history:

Introduced in QPR 7.2.1

Last changed in QPR 2012

 

Fills the Scorecards variant array with scorecards in model, sorted by name. The scorecards are returned one scorecard per row with the scorecard's properties as columns.

 

Synopsis:

 

SCModel.GetScorecards(out Scorecards)

 

Parameters:

 

Scorecards: Pointer to a variant array. The array contains one line per scorecard and a line contains the columns described below:

scorecard name, string
id, integer
identifier, string
parent scorecard id, integer
parent scorecard identifier, string
top element id, integer
top element identifier, string

 

Required Rights:

 

View rights to scorecards

 

Return Values:

Below are listed the return values that this function can return:

 

RV_SUCCESS

RV_MODEL_NOT_OPEN

RV_NO_RIGHTS

RV_UNKNOWN_ERROR

 

Example Procedure:

 

iRet = SCModel.GetScorecards(Scorecards)