IEaxTableStyle.Assign

Syntax

Assign(Value: IEaxTableStyle);

Description

The Assign method sets formatting style for an express report table in accordance with the style passed by the Value parameter.

Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr, Expr1: IEaxAnalyzer;
    Grid: IEaxGrid;
    Style: IEaxTableStyle;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById("EXPRESS_REPORT").Edit;
    Expr := MObj As IEaxAnalyzer;
    Expr1 := MB.ItemById("EXPRESS_REPORT1").Bind As IEaxAnalyzer;
    Grid := Expr.Grid;
    Style := Grid.Style;
    Style.Assign(Expr1.Grid.Style);
    MObj.Save;
End Sub UserProc;

After executing the example formatting style of the table of an express report with the EXPRESS_REPORT identifier is set in accordance with formatting style of an express report with the EXPRESS_REPORT1 identifier.

See also:

IEaxTableStyle