GetRelationType(returns relation type)

Top  Previous  Next

 

GetRelationType( whichrelation )

GetRelationType

Returns the type of relation for the objects primary file.

whichrelation

An integer constant, variable, EQUATE or expresssion that contains the relation number.

The GetRelationType method returns the type of the relation for the specified relation number.

Implementation:

The GetRelationType method returns a –1 when whichrelation is not a valid relation number. It returns a one (1) if the relationship is determined to be a one-to-many relationship. It returns a zero (0) for all other relation types.

Return Data Type:     LONG