CalcCube.Execute Command

Purpose

Opens a standard dialog box that is used to start multidimensional calculation at database server.

Application Features

The command can be used only for multidimensional calculation at database server.

Example

Executing the example requires a form with the Button1 button and multidimensional calculation at database server with the MDCalc identifier.

Add links to the Forms, Metabase, and Ui system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Mb: IMetabase;
    ObjDes: IMetabaseObjectDescriptor;
    Target: IUiCommandTarget;
Begin
    MB := MetabaseClass.Active;
    ObjDes := MB.ItemById("MDCalc");
    Target := WinApplication.Instance.GetObjectTarget(ObjDes);
    Target.Execute("CalcCube.Execute"Null);
End Sub Button1OnClick;

Clicking the button opens the dialog box that is used to specify parameters and start multidimensional calculation at database server.

See also:

IUiCommandTarget.Execute