CalcCube.Execute Command

Purpose

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

Parameters of Use

None

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.

    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