Search
Table.ChangeRelation Method
See Also
 



Changes the origin or destination row of the specified arrow.

 Syntax

VB6  Copy Code

Public Sub ChangeRelation( _
    ByVal arrow As Arrow, _
    ByVal row As Long, _
    ByVal rel As ERelationship _
)

C++  Copy Code

public:
void ChangeRelation (
    Arrow* arrow,
    int row,
    ERelationship rel
)

 Parameters

arrow
The arrow whose origin or destination row should be changed.
row
The index of the new origin or destination row.
rel

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

 Remarks

Specify rlOneToMany to change the destination row of the arrow, or rlManyToOne to change the origin row.

 See Also