DictTable.reportRef Method

Returns the name of the default report for the table.

Syntax

public str reportRef()

Run On

Called

Return Value

Type: str
The name of the default report for the table; an empty string if there is no default report for the table.

Examples

The following shows the retrieval of the name of the default report for a table.

DictTable dt; 
str       strReport; 
 
dt = new DictTable(tablenum(CustTable)); 
 
if (dt) 
{ 
    strReport = dt.reportRef(); 
    print strfmt("Default report: %1", strReport != "" ? strReport : "None specified"); 
}

See Also

DictTable Class

DictTable.formRef Method

Table Properties