tableNum Function
Dynamics AX 2009
Retrieves the table ID of the specified table.
int tableNum(str table)
The following example sets the tableID variable to 77, which is the ID of the CustTable table.
static void tableNumExample(Args _args)
{
int tableID;
;
tableID = tableNum(CustTable);
Global::info(strfmt("%1 is the table ID for the CustTable table.", tableID));
}
/****Infolog Display
Message (11:15:54 am)
77 is the table ID for the CustTable table.
****/
Community Additions
ADD
Show: