IAdoMdCubeExecutor.MdxQuery

Syntax

MdxQuery: String;

Description

The MdxQuery property determines a random MDX query to cube.

Comments

After preparing cube calculator, if the PrepareExecute method is called, the MdxQuery property can be used to get the MDX query used to extract data according to the selection passed to the method. After executing the PerformExecute method it is available to get a matrix with cube data in the Matrix property.

A random query must be set in the MdxQuery property before executing the PrepareExecute method.

The text of the specified MDX query has some restrictions:

Example

The example of use is given in description of the IAdoMdCubeExecutor.OpenCellset method.

See also:

IAdoMdCubeExecutor