RAD Studio VCL Reference
|
Lists all dimension items maintained by the TDimensionItems object.
property Items [Index: Integer]: TQueryDim;
__property TQueryDim Items[int Index];
Use Items to access individual dimension items maintained by the TDimensionItems object. The first dimension item has an Index of 0, the second dimension item has an Index of 1, and so on. For example, the following C++ code accesses an item to indicate that it can be swapped out of memory:
DecisionCube1->DimensionMap->Items[0]->ActiveFlag = diAsNeeded;
Each dimension item in the Items array represents a field from the data set of a crosstabulated data store. Each dimension 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 TDimensionItems. 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!
|