This documentation is archived and is not being maintained.
tableFieldGroupStr Function
Returns the name of a field group as a string.
str tableFieldGroupStr(tableName, 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.
Use this function instead of a literal string to get a string that contains the field group name. If the field group does not exist on the table, an error is generated at compile time.
The following example assigns the name of the field group ContactInfo in the Address table to MyTxt .
static void tableFieldGroupStrExample(Args _arg)
{
str MyTxt;
;
MyTxt = tableFieldGroupStr(Address, ContactInfo);
}