RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.CurrentSum Property

Indicates the index of the current summary from the set of active summaries maintained by the decision cube.

Pascal
property CurrentSum: Integer;
C++
__property int CurrentSum;

Read CurrentSum to determine which of the active summaries is used to provide values to clients of the decision source. CurrentSum returns 0 if the first active summary is the current summary. CurrentSum returns nSums-1 if the last active summary is the current summary. 

To change the current summary, use the SetCurrentSummary method. Use the GetSummaryName method to obtain the name of the current summary.

Note: Do not pivot, subtotal, or drill the information provided by the Decision source unless the CurrentSum property refers to 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!