DictTable.fieldGroupCnt Method [AX 2012]

Returns the number of field groups for the table.

public int fieldGroupCnt([TableScope tableScope])

Run On

Called

Parameters

tableScope
Type: TableScope Enumeration

Return Value

Type: int
The number of field groups for the table.

The following example shows the retrieval of the number of field groups for a table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table has %1 field groups.", dt.fieldGroupCnt())); 
}

Community Additions

ADD
Show: