Show contents 

Express > Express Assembly Interfaces > IEaxAnalyzeCore > IEaxAnalyzeCore.ViewOrder

IEaxAnalyzeCore.ViewOrder

Syntax

ViewOrder(Index: Integer): IEaxObject;

Parameters

Index. Express report object index.

Description

The ViewOrder property sets the order, in which the objects are displayed in express report window and printed. The numeration is executed from left to right.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Add links to the Express and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    Expr.ViewOrder(1) := Expr.Grid As IEaxObject;
    MObj.Save;
End Sub UserProc;

After executing the example the express report window shows the table that contains express report data at the left (if the Horizontal data view arrangement is selected) or at the top (if the Vertical arrangement is selected). The page which contains the table will be the first when printed.

See also:

IEaxAnalyzeCore