IEaxAnalyzer.ParamValues

Syntax

ParamValues: IMetabaseObjectParamValues;

Description

The ParamValues property is used to work with collection of parameters of the cube used as the express report data source.

If cube parameter values change, the table containing express report data is to be recalculated. If the report contains only one data source, call the Refresh method for the object returned by the Pivot property. If the report contains multiple data sources, the Refresh method is to be called for the object returned by the DataSources property.

Example

Sub Main;

Var

MB: IMetabase;

Expr: IEaxAnalyzer;

Params: IMetabaseObjectParamValues;

v: Variant;

Begin

MB:=MetabaseClass.Active;

Expr:=MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;

Params:=Expr.ParamValues;

If Expr.IsParameterized Then

v:=Params.Item(0).Value;

End If;

End Sub Main;

 

After executing the example the v variable contains value of the first parameter of the cube used as a data source for the express report if this cube is parameterized. Express report identifier - EXPRESS_REPORT.

See also:

IEaxAnalyzer