Laner: ILaner;
The Laner property returns the workbook of the time series database.
The property depends on the display mode specified in IEaxAnalyzeCore.Mode:
IEaxAnalyzer.Mode = MultiDimension. The Laner property returns Null. To work with a workbook, use IEaxAnalyzeCore.Pivot.
IEaxAnalyzer.Mode = Series. The Laner property returns the workbook, the IEaxAnalyzeCore.Pivot property is set t Null.
Executing the example requires a form with the Button1 button, the LanerBox component and the UiErAnalyzer component with the UiErAnalyzer1 identifier that is a data source for LanerBox. A workbook of the time series database must be loaded to UiErAnalyzer1.
The example is a handler of the OnClick event for a button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
EaxAn: IEaxAnalyzer;
Laner: ILaner;
Begin
EaxAn := UiErAnalyzer1.ErAnalyzer;
Laner := EaxAn.Laner;
If Laner <> Null Then
Laner.StartDate := DateTime.ComposeDay(2005, 01, 01);
End If;
End Sub Button1OnClick;
The start date of the data displayed in the workbook, that is loaded to the LanerBox component, is changing when clicking the Button1 button.
See also: