Export (0) Print
Expand All
Expand Minimize

tableId2Name Function

Retrieves a string that contains the name of a table.


str tableId2Name(int _tableid)

Parameter

Description

_tableid

The ID of the table.

The name of the table.

static void tableId2NameExample(Args _arg)
{
    str s;
    tableid id;
    ;
 
    // Get the ID for table name Address.
    id = tableName2Id("Address");  
    print "ID for table name Address is " + int2Str(id);
    // Get the name from the table ID.
    s = tableId2Name(id); 
    print "Name for table ID " + int2Str(id) + " is " + s;
    // Get the printable name from the table ID.
    s = tableId2PName(id);
    print "Printable name for table ID " + int2Str(id) + " is " + s;
    pause;
}

Community Additions

ADD
Show:
© 2014 Microsoft