RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataStore.GetSummaryAsVariant Method

Returns the value of the current summary for a set of values along all the active dimensions.

Pascal
function GetSummaryAsVariant(Coord: TSmallIntArray): Variant; virtual;
C++
virtual __fastcall Variant GetSummaryAsVariant(TSmallIntArray Coord);

Call GetSummaryAsVariant to obtain the value of a single cell from the multidimensional array of summary values. Set the Coord parameter to an array of indexes, where each index identifies a value along one of the dimensions of the array. The first value of Coord is the index of the desired value along the first active dimension, the second value of Coord is the index of the desired value along the second active dimension, and so on. Coord should contain DimensionCount values. 

To obtain the names of the active dimensions that correspond to the entries in the Coord parameter, use the GetDimensionName method. To obtain the name of the specified value along any of the dimensions, use the GetMemberAsString method. 

To obtain the summary formatted as a string, use the GetSummaryAsString method. 

 

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