DictTable.relationCnt Method

Returns the number of relations for the table.

Syntax

public int relationCnt([TableScope tableScope])

Run On

Called

Parameters

Return Value

Type: int
The number of relations for the table.

Examples

The following example shows the retrieval of the number of relations for a table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table has %1 relations.", dt.relationCnt())); 
}

See Also

Reference

DictTable Class