RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.CellValueArray Method

Returns the values of all dimension fields over which a data cell is summarized.

Pascal
function CellValueArray(ACol: Integer; ARow: Integer; var ValueArray: TValueArray): boolean;
C++
__fastcall boolean CellValueArray(int ACol, int ARow, TValueArray ValueArray);

Call CellValueArray to obtain the coordinates of a data cell in the multidimensional array maintained by the decision cube. The ACol and ARow parameters represent the indexes of the column and row containing the cell, where (0,0) specifies the upper left data cell, not the top left cell in the grid. The ValueArray parameter returns the indexes of the field values for each dimension over which the cell summarizes data. Use the GetMemberAsString or GetMemberAsVariant method of the decision source to convert the indexes in the ValueArray parameter into field values. CellValueArray returns a boolean indicating whether the function was successful. 

 

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