IEaxGrid.ColumnName

Syntax

ColumnName(Column: Integer): String;

Parameters

Column: Column number.

Description

The ColumnName property returns name of the header of a column of the express report table index of which is passed by the Column parameter.

Example

Sub Main;

Var

MB: IMetabase;

Expr: IEaxAnalyzer;

Grid: IEaxGrid;

s: String;

Begin

MB:=MetabaseClass.Active;

Expr:=MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;

Grid:=Expr.Grid;

s:=Grid.ColumnName(Grid.TabSheet.ColumnsCount-1);

End Sub Main;

 

After executing the example the s variable contains name of the header of the last table column. Express report identifier - EXPRESS_REPORT.

See also:

IEaxGrid