ILanerAttributeColumn.NamingFormat

Syntax

NamingFormat: String;

Description

The NamingFormat property determines the name format of the displayed attribute.

Comments

A name is set by a string of the following pattern: <Rubr_Attr>.<Dict_Attr>, where 

For example, the time series database contains the COUNTRY attribute that refers to a dictionary. The display of the KEY attribute is set up for this dictionary.

Example

Executing this example requires a form containing:

Workbook of the time series database is loaded to UiErAnalyzer1. The database contains the factors attribute COUNTRY, that refers to a dictionary.

This procedure is a handler of the OnClick event for the Button1 button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    ErAn: IEaxAnalyzer;
    Laner: ILaner;
    LanerAttr: ILanerAttributeColumns;
    LanerA: ILanerAttributeColumn;
Begin
    ErAn := UiErAnalyzer1.ErAnalyzer;
    Laner := ErAn.Laner;
    Laner.BeginUpdate;
    // Additional attribute display 
    LanerAttr := Laner.AttributeColumns;
    LanerA := LanerAttr.AddByType(LnColumnType.Attribute) As ILanerAttributeColumn;
    LanerA.NamingFormat := "COUNTRY.KEY";
    Laner.EndUpdate;
End Sub Button1OnClick;

After executing the procedure the workbook shows value of the attribute that is the key of the dictionary referred to by the factors attribute COUNTRY.

See also:

ILanerAttributeColumn