IEaxDataArea.DelayedLoad

Syntax

DelayedLoad: Boolean;

Description

The DelayedLoad property determines whether delayed loading is available for analytical area sheets.

Comments

Available values:

Example

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

The property use for data entry forms is given in the example for IEaxDataAreaSource.IsLoaded.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Area: IEaxDataArea;
    Sheets: IEaxSheets;
    Sheet: IEaxSheet;
Begin
    
// Get repository
    MB := MetabaseClass.Active;
    
// Get express report
    Express := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    
// Get analytical area of express report
    Area := Express.DataArea;
    
// Set delayed sheet loading
    Area.DelayedLoad := True;
    
// Get report sheets
    Sheets := Express.Sheets;
    
// Set the second sheet as active
    Sheet := Sheets.Item(1);
    Sheet.Active := 
True;
    
// Load the first report sheet
    Sheet := Sheets.Item(0);
        
If Not Sheet.IsLoaded Then
            Sheet.Load;
        
End If;
    
// Save report
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, the delayed loading of sheets will be set for express report, the second sheet will be active, the first sheet will be loaded.

See also:

IEaxDataArea