GetRelation(returns reference to relation manager)

Top  Previous  Next

 

 

GetRelation

( | relationposition | )

 

 

 | relatedfile |

GetRelation

Returns a reference to the objects relation manager.

relationposition

An integer constant, variable, EQUATE or expresssion that contains the relation number for the objects primary file.

relatedfile

The label of the file to query relations.

The GetRelation method returns a reference to the objects relation manager based on the specified relation position or related file.

GetRelation(relationposition)

Returns the relation manager for the specified relationposition in the internal list of relations.

GetRelation(relatedfile)

Returns the relation manager for the specified file.

Return Data Type:     Reference to RelationManager object