Search
Table.GetRelatedTables Method
See Also
 



Gets a list of tables related to this one.

 Syntax

VB6  Copy Code

Public Function GetRelatedTables( _
    ByVal row As Long, _
    ByVal rel As ERelationship _
) As ITables

C++  Copy Code

public:
ITables* GetRelatedTables (
    int row,
    ERelationship rel
)

 Parameters

row
The index of the row whose relations to return.
rel
The type of the relation - either rlOneToMany or rlManyToOne.

 Return Value

A collection of Table objects, connected to the specified row.

 Remarks

Returns a collection of all tables connected to the specified table row. Through this collection you can enumerate them and have access to their properties and methods. If the row has no related tables, the collection Count property is zero.

 See Also