ILaner.FlushCache

Syntax

FlushCache;

Description

The FlushCache method is used to reset dimension cache for time series database workbook.

Comments

FlushCache clears the dimension cache without reopening the workbook and updating the data.

Example

Executing the example requires a form with the Button1 button, the LanerBox component named LanerBox1 and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1.

Click the button to start executing this example.

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        ErAn: IEaxAnalyzer;
        Laner: ILaner;
    Begin
        ErAn := UiErAnalyzer1.ErAnalyzer;
        Laner := ErAn.Laner;
        Laner.FlushCache;
    End Sub Button1OnClick;

After executing the example the cache of the loaded time series database workbook is refreshed.

See also:

ILaner