Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- tableScope
Type: TableScope Enumeration
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));
}
}