RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionCube.BeforeOpen Event

Occurs immediately before the crosstabulated data store is activated.

Pascal
property BeforeOpen: TCubeNotifyEvent;
C++
__property TCubeNotifyEvent BeforeOpen;

Write a BeforeOpen event handler to take specific action before the crosstabulated data store is activated. This is an appropriate time to adjust the value of Capacity, or set the ShowProgressDialog based on the number of active dimensions in the DimensionMap.  

This is the last opportunity to adjust the entries in the DimensionMap before the cache is built. If the data store has never been active before this, the DimensionMap property will be nil (Delphi) or NULL (C++) at this point. A BeforeOpen event handler can build a dimension map programmatically if it is nil (Delphi) or NULL (C++). If the dimension map is not nil (Delphi) or NULL (C++), the properties of the dimension items can be changed, but the order and number of the dimension items themselves should not be changed. 

 

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