Search
Table.BreakRelation Method
See Also
 



Removes the relation between this table and another one.

 Syntax

VB6  Copy Code

Public Sub BreakRelation( _
    ByVal row As Long, _
    ByVal rel As ERelationship, _
    ByVal pTable As Table _
)

C++  Copy Code

public:
void BreakRelation (
    int row,
    ERelationship rel,
    Table* pTable
)

 Parameters

row
The number of row of the source table.
rel

A member of the ERelationship enumeration specifying the type of the relation - either rlOneToMany or rlManyToOne.

pTable

The destination table.

 Remarks

Breaks the relation between two tables. The arrow, connecting the table passed as an argument (pTable) to a row of the table on which the method is called, is deleted.

 See Also