DictTable.fieldGroup Method

Returns the name of a field group that is specified by index.

Syntax

public str fieldGroup(int FieldGroupNumber, [TableScope tableScope])

Run On

Called

Parameters

  • FieldGroupNumber
    Type: int
    The one-based index for the name of the field group that is being retrieved.

Return Value

Type: str
The name of the field group that is specified by the FieldGroupNumber parameter.

Examples

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

DictTable dt; 
int       i; 

 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    for (i =1; i <= dt.fieldGroupCnt(); i++) 
    { 
        print (dt.fieldGroup(i)); 
    } 
}

See Also

DictTable Class

DictTable.fieldGroupCnt Method