DictTable.formRef Method

Returns the name of the default form for the table.

Syntax

public str formRef([boolean searchBaseTables])

Run On

Called

Parameters

Return Value

Type: str
The name of the default form for the table.

Remarks

If the AOT shows no value for the FormRef property of a table, the name of the default form for the table is considered to be the same as the name of the table. In this case, this method does not return an empty string.

Examples

The following example shows the retrieval of the default form for a table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print strfmt("Default form: %1", dt.formRef()); 
}

See Also

DictTable Class

Table Properties

Best Practices for Table Properties