This documentation is archived and is not being maintained.
fieldId2PName Function
Retrieves the printable name of the field specified by a table ID number and a field ID number.
str fieldId2PName(int tableid, int fieldid)
|
Parameter
|
Description
|
|
tableid
|
The ID number for the table.
Note
Use the tableName2Id function to specify the ID of a table.
|
|
fieldid
|
The ID number of the field.
Note
Use the fieldName2Id function to specify the ID of a field.
|
static void fieldId2PNameExample(Args _arg)
{
str name;
tableid _tableId;
fieldid _fieldid;
;
_tableId = tableName2Id("Address");
_fieldId = fieldName2Id(_tableId, "Name");
name = fieldId2PName(_tableId, _fieldid);
print name;
pause;
}