Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the ID of the external table that is used for the relation.
Syntax
public TableId externTable()
Run On
Called
Return Value
Type: TableId Extended Data Type
The ID of the external table that is used for the relation; 0 (zero) if the relation has not yet been loaded.
Examples
The following example shows the retrieval of the external table ID.
Dictionary dict;
DictRelation dr;
int i;
dict = new Dictionary();
dr = new DictRelation(dict.tableName2Id("CustTable"));
// Load a relation by name
dr.loadNameRelation("CompanyData"); // Also returns the external table ID.
print "The external table ID is: " + int2str(dr.externTable());