Share via


DictTable.Reportref Method

Definition

Returns the name of the default report for the table.

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

Returns

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

Remarks

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

Applies to