Execute: ILanerTable;
The Execute method calculates working area and returns the table, containing its data.
Executing the example requires a form with the Button1 button, the Memo component with the Memo1 identifier, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
ErAn: IEaxAnalyzer;
Laner: ILaner;
Tb: ILanerTable;
Begin
ErAn := UiErAnalyzer1.ErAnalyzer;
Laner := ErAn.Laner;
Tb := Laner.Execute;
If Tb.IsEditing Then
Memo1.Lines.Add("The data edit mode is active for the table");
Else
Memo1.Lines.Add("Data reading mode is active for the table");
End If;
End Sub Button1OnClick;
After executing this example the working area is calculated, and the information about the currently active mode for the table is displayed in the Memo1 component.
See also: