IVZTimeLine.LastIndexAsInitial

Syntax

LastIndexAsInitial: Boolean;

Description

The LastIndexAsInitial property determines whether on opening express report it moves to the last timeline step if there are negative index values.

Comments

Negative index value automatically equals to -1.

Available values:

Example

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

Add links to the Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    EMap: IVZMapChart;
    TimeLine: IVZTimeLine;
Begin
    // Get the current repository
    Metabase := MetabaseClass.Active;
    // Get express report
    EaxAnalyzer := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get express report map as a visualizer
    EMap := EaxAnalyzer.MapChart.MapChart;
    // Get time line of map
    TimeLine := EMap.TimeLine;
    // Set current index value
    TimeLine.CurrentIndex := -1;
    // Going to the last step of timeline is not executed
    TimeLine.LastIndexAsInitial := False;
    // Get express report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the value of the current index is set as -1, on opening express report it does not move to the last step of timeline.

See also:

IVZTimeLine