indexId2Name Function

Retrieves the name of an index.


str indexId2Name(int tableid, int indexid)

Parameter

Description

tableid

The ID of the table to which the index belongs.

indexid

The ID of the index.

The name of the index.

static void indexId2NameExample(Args _arg)
{
    str s;
    tableid id;
    indexid idx;
    ;
 
    id  = tableName2Id("Address");
    idx = indexName2Id(id, "AddrIdx");
    s = indexId2Name(id, idx);
    print "The result of calling indexId2Name is " + s;
    pause;
}

Community Additions

ADD
Show: