IEaxDataSources.Count

Syntax

Count: Integer;

Description

The Count property returns number of express report 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;
    Expr: IEaxAnalyzer;
    ExpDs: IEaxDataSources;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    ExpDs := Expr.DataSources;
    i := ExpDs.Count;
End Sub Main;

After executing the example the "i" variable contains the number of express report data sources.

See also:

IEaxDataSources