fieldStr Function
Dynamics AX 2009
Retrieves the field name of the specified field.
str fieldStr(str tableid, str fieldid)
The following example assigns the name of the CashDisc field to the myText variable.
static void fieldStrExample(Args _arg)
{
str myText;
;
myText = fieldStr(CustTable, CashDisc);
Global::info(strfmt("%1 is the specified field.", myText));
}
/****Infolog Display
Message (09:11:52 am)
CashDisc is the specified field.
****/
Community Additions
ADD
Show: