RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataStore.GetSummaryAsString Method

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

Pascal
function GetSummaryAsString(Coord: TSmallIntArray): String; virtual;
C++
virtual __fastcall AnsiString GetSummaryAsString(TSmallIntArray Coord);

Call GetSummaryAsString 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. 

GetSummaryAsString formats the summarized value as a string. To obtain the summary as a variant, use the GetSummaryAsVariant method. 

 

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