tableFieldGroupStr Function

Retrieves the name of a field group as a string.


str tableFieldGroupStr(str tableName, str fieldGroupName)

Parameter

Description

tableName

The table that contains the field group.

fieldGroupName

The field group in the table.

The name of the field group as a string.

This function is a compile-time function, which is a metadata assertion function. Compile-time functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.

The following example retrieves the name of the Editing field group as a string.

static void tableFieldGroupStrExample(Args _arg)
{
    ;

    Global::info(tableFieldGroupStr(AccountingDistribution, Editing));
}
/****Infolog Display
Message (03:14:54 pm)
Editing
****/

Community Additions

ADD
Show: