PermanentData: Boolean;
The PermanentData property determines the method of loading and saving of time series data.
Available values:
True. On opening the workbook data for time series loading is taken from the workbook. On saving the workbook, time series data is also saved to the workbook.
False. Default value. The data is loaded directly from the database. Data is also saved directly.
Executing the example requires a form with the following components: the Button component named Button1, the LanerBox component named LanerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is a data source for LanerBox1. A working area of the time series database should be loaded to UiErAnalyzer1.
Add links to the Express, ExtCtrls, Forms, Laner, and Tab system assemblies.
Sub UserProc;
Var
ErAn: IEaxAnalyzer;
Laner: ILaner;
Begin
ErAn := UiErAnalyzer1.ErAnalyzer;
Laner := ErAn.Laner;
If Laner.PermanentData Then
Laner.PermanentData := False;
End If;
End Sub UserProc;
After executing the example the workbook loads or saves series data directly from the database.
See also: