ITableIndex.FieldNamesWithSeparator

Syntax

FieldNamesWithSeparator(Separator: String): String;

Parameters

Separator. Separator used in the string.

Description

The FieldNamesWithSeparator property returns the character string containing the list of fields separated with selected separator.

Example

Executing the example requires that the repository contains a table with the Table_1 identifier. The primary index including several fields is created for the table.

Sub UserProc;
Var
    MB: IMetabase;
    Table: ITable;
    Index: ITableIndex;
Begin
    MB := MetabaseClass.Active;
    Table := MB.ItemById("Table_1").Bind As ITable;
    Index := Table.Indexes.Primary;
    Debug.WriteLine(Index.FieldNamesWithSeparator("/"));
End Sub UserProc;

On executing the example the list of primary index fields, separated with semicolon, is displayed in the console window.

See also:

ITableIndex