Equal(Value: IEaxTableStyle): Boolean;
The Equal method compares formatting of an express report table with the formatting passed by the Value parameter.
Sub UserProc;
Var
MB: IMetabase;
Expr, Expr1: IEaxAnalyzer;
Grid: IEaxGrid;
Style: IEaxTableStyle;
s: String;
Begin
MB := MetabaseClass.Active;
Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
Expr1 := MB.ItemById("EXPRESS_REPORT1").Bind As IEaxAnalyzer;
Grid := Expr.Grid;
Style := Grid.Style;
If Style.Equal(Expr1.Grid.Style) Then
s := "Yes";
Else
s := "No";
End If;
End Sub UserProc;
After executing the example the "s" variable contains Yes if formatting of the table of the EXPRESS_REPORT express report is the same as formatting of the table of the EXPRESS_REPORT1 express report.
See also: