DictTable.Fieldgroupcnt Method

Definition

Overloads

Fieldgroupcnt()

Returns the number of field groups for the table.

Fieldgroupcnt(TableScope)

Fieldgroupcnt()

Returns the number of field groups for the table.

public:
 virtual int Fieldgroupcnt();
public virtual int Fieldgroupcnt ();
abstract member Fieldgroupcnt : unit -> int
override this.Fieldgroupcnt : unit -> int
Public Overridable Function Fieldgroupcnt () As Integer

Returns

The number of field groups for the table.

Remarks

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())); 
}

Applies to

Fieldgroupcnt(TableScope)

public:
 virtual int Fieldgroupcnt(Microsoft::Dynamics::Ax::Xpp::TableScope tableScope);
public virtual int Fieldgroupcnt (Microsoft.Dynamics.Ax.Xpp.TableScope tableScope);
abstract member Fieldgroupcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
override this.Fieldgroupcnt : Microsoft.Dynamics.Ax.Xpp.TableScope -> int
Public Overridable Function Fieldgroupcnt (tableScope As TableScope) As Integer

Parameters

tableScope
TableScope

Returns

Applies to