RAD Studio VCL Reference
|
Lists all dimension items maintained by the TCubeDims object.
property Items [Index: Integer]: TCubeDim;
__property TCubeDim Items[int Index];
Use Items to access individual dimensions or summaries maintained by the TCubeDims object. The first TCubeDim object has an Index of 0, the second has an Index of 1, and so on.
Each TCubeDim object in the Items array represents a field from the data set of a decision cube. Each item represents either a dimension (a field over which data is summarized), or a summary (a value summarized over the dimensions).
In Delphi code, Items is the default property of TCubeDims. This means that the name of the Items property can be eliminated from code that uses the Items property. Thus, the line
DecisionCube1.DimensionMap.Items[0].ActiveFlag := diAsNeeded;
could be written
DecisionCube1.DimensionMap[0].ActiveFlag := diAsNeeded;
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|