DictTable.Formref Method

Definition

Returns the name of the default form for the table.

public:
 virtual System::String ^ Formref();
public virtual string Formref ();
abstract member Formref : unit -> string
override this.Formref : unit -> string
Public Overridable Function Formref () As String

Returns

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.

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()); 
}

Applies to