IEaxObject.Laner

Fore Syntax

Laner: ILaner;

Fore.NET Syntax

Laner: Prognoz.Platform.Interop.Laner.ILaner;

Description

The Laner property determines object to work with workbook of time series database in the series mode.

Comments

To determine object which is a basis for data table building, use IEaxObject.Pivot.

Fore Example

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

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Analyzer: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
Begin
    MB := MetabaseClass.Active;
    Analyzer := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    Slice := Analyzer.DataArea.Slices.Item(0);
    If Slice.Views.Item(0).Laner = Null Then
        Debug.WriteLine("Pivot is used");
    Else
        Debug.WriteLine("Laner is used");
    End If;
End Sub UserProc;

After executing the example the console displays the object which is used in data layout.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Express;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Analyzer: IEaxAnalyzer;
    Slice: IEaxDataAreaSlice;
Begin
    MB := Params.Metabase;
    Analyzer := MB.ItemById["EXPRESS"].Bind() As IEaxAnalyzer;
    Slice := Analyzer.DataArea.Slices.Item[0];
    If Slice.Views.Item[0].Laner = Null Then
        System.Diagnostics.Debug.WriteLine("Pivot is used");
    Else
        System.Diagnostics.Debug.WriteLine("Laner is used");
    End If;
End Sub;

See also:

IEaxObject