RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.MoveDimIndexes Method

Changes the position of a dimension.

Pascal
procedure MoveDimIndexes(SdimGroup: TDimGroup; DdimGroup: TDimGroup; SIndex: Integer; DIndex: Integer; bOpen: Boolean);
C++
__fastcall MoveDimIndexes(TDimGroup SdimGroup, TDimGroup DdimGroup, int SIndex, int DIndex, Boolean bOpen);

Call MoveDimIndexes to change the pivot state of the decision grid. MoveDimIndexes moves the dimension indicated by the SIndex and SdimGroup parameters to the position indicated by the DIndex and DdimGroup parameters. 

The SdimGroup and DdimGroup parameters specify whether the dimension position is along the rows of a decision grid (SdimGroup or DdimGroup is dgRow), or across the columns of the decision grid (SdimGroup or DdimGroup is dgCol). The SIndex and DIndex parameters indicate the index of the dimension position among the row dimensions or column dimensions, where 0 specifies the first position, 1 specifies the second position, and so on. The bOpen parameter specifies whether closed dimensions are counted when interpreting the SIndex and DIndex parameters. When bOpen is true, only open dimensions are counted.

Note: Do not move a dimension of the Decision Source unless the CurrentSum property specifies an additive summary. Additive Summaries are SUM and COUNT. AVERAGE (unless calculated internally by the Decision Cube), MAX, and MIN are not additive.
 

 

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