RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionSource.SetCurrentSummary Method

Specifies which summary is provided by the decision source.

Pascal
procedure SetCurrentSummary(Value: Integer);
C++
__fastcall SetCurrentSummary(int Value);

The decision cube maintains a set of active summaries in its cache. The decision source can only present one of those summaries to decision controls. Call SetCurrentSummary to specify which of the active summaries is surfaced by the decision source. The Value parameter specifies the index of the summary in the list of active summaries maintained by the decision cube. 

To obtain the names of the active summaries from which the current summary is chosen, use the GetSummaryName method. 

 

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