IEaxDataSources.ControlInfo

Syntax

ControlInfo: IMetabaseObjectControlInfo;

Description

The ControlInfo property returns object that contains information on data sources.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Add links to the Express and Metabase system assemblies.

Sub Main;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    ExpDs: IEaxDataSources;
    ControlI: IMetabaseObjectControlInfo;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    ExpDs := Expr.DataSources;
    ControlI := ExpDs.ControlInfo;
    MObj.Save;
End Sub Main;

After executing the example the ControlI variable will contain an object containing information about express report data sources.

See also:

IEaxDataSources