Navigation:  Functions > Enum Functions >

DaoRelationAttributeEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

Returns a 2-dimensional array with all the values of the RelationAttribute Enum.

 

Description

Every row in this array has 2 values:

The numeric value of the Enum value
A text representation of this value

 

This array can be used to validate values, and to print a ,meaningful description of the values during debugging

You can pass this array tro the DaoEnum2Str() function to convert the value of an Enum to a string

 

Constant Description
dbRelationUnique The relationship is one-to-one.
dbRelationDontEnforce The relationship isn't enforced (no referential integrity).
dbRelationInherited The relationship exists in a non-current database that contains the two linked tables.
dbRelationUpdateCascade Updates will cascade.
dbRelationDeleteCascade Deletions will cascade.
dbRelationLeft Microsoft Access only. In Design view, display a LEFT JOIN as the default join type.
dbRelationRight Microsoft Access only. In Design view, display a RIGHT JOIN as the default join type.

 

Returns

Array

 

See Also

DaoEnum2Str()