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 Metabase and Express system assemblies.

Sub Main;
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 Main;

 

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

See also:

IEaxAnalyzeCore