indexId2Name Function [AX 2012]

Updated: December 11, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

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;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: