Share via


DictRelation.externTable Method

Definition

Returns the ID of the external table that is used for the relation.

public:
 virtual int externTable();
public virtual int externTable ();
abstract member externTable : unit -> int
override this.externTable : unit -> int
Public Overridable Function externTable () As Integer

Returns

The ID of the external table that is used for the relation; 0 (zero) if the relation has not yet been loaded.

Remarks

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());

Applies to