RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.GetMemberAsString Method

Returns the label string for a dimension value.

Pascal
function GetMemberAsString(iDim: Integer; ValueIndex: Integer): String;
C++
__fastcall AnsiString GetMemberAsString(int iDim, int ValueIndex);

Call GetMemberAsString to obtain the value indicated by the ValueIndex parameter along the dimension specified by the iDim parameter, formatted as a string. 

The iDim parameter is the absolute index of the dimension, where 0 indicates the first active dimension in the decision cube, 1 indicates the second active dimension, and so on. To convert from a row-specific or column-specific dimension index into an absolute dimension index, use the GetActiveDim method. 

The ValueIndex parameter is the index of a value along the dimension, where 0 specifies the first value of the dimension and GetDimensionMemberCount returns the number of values along the dimension. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!