DictField.tableid Method

Returns the ID of the table that contains the field.

Syntax

public TableId tableid()

Run On

Called

Return Value

Type: TableId Extended Data Type
The ID of the table that contains the field.

Examples

The following example shows the retrieval of the table ID of a field.

DictField df; 
 
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); 
 
if (df) 
{ 
    print df.tableid(); 
}

See Also

DictField Class

DictTable Class