IEaxDataAreaSlice.DataSourceKey

Syntax

DataSourceKey: Integer;

Description

The DataSourceKey property returns key of data source of analytical data area.

Comments

To get data source of analytical data area slice, use IEaxDataAreaSlice.DataSource.

Example

Executing the example requires that the repository contains express report with the EXPRESS identifier containing table.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get data slice
    Slice := Express.DataArea.Slices.Item(0);
    // Display to the console key of data slice source
    Debug.WriteLine("Key of data source in repository - " + Slice.DataSourceKey.ToString);
End Sub UserProc;

After executing the example the console displays key of slice data source.

See also:

IEaxDataAreaSlice