RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.GetMemberAsVariant Method

Returns a value along a dimension.

Pascal
function GetMemberAsVariant(iDim: Integer; ValueIndex: Integer): Variant;
C++
__fastcall Variant GetMemberAsVariant(int iDim, int ValueIndex);

Call GetMemberAsVariant to obtain the value indicated by the ValueIndex parameter along the dimension specified by the iDim parameter. 

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!