version 2004
GET AUTOMATIC RELATIONS (one; many)
Parameter | Type | Description | |
one | Boolean | Status of all Many-to-One relations | |
many | Boolean | Status of all One-to-Many relations |
Description
The GET AUTOMATIC RELATIONS command lets you know if the automatic/manual status of all manual many-to-one and one-to-many relations of the database have been modified in the current process.
one: This parameter returns True if a previous calll from the SET AUTOMATIC RELATIONS command made all manual many-to-one relations automatic for example, SET AUTOMATIC RELATIONS(True;False).
This parameter returns False if the SET AUTOMATIC RELATIONS command has not been called or if its previous execution did not modify manual many-to-one relations for example, SET AUTOMATIC RELATIONS(False;False).
many: This parameter returns True if a previous call from the SET AUTOMATIC RELATIONS command made all manual one-to-many relations automatic for example, SET AUTOMATIC RELATIONS(True;True).
This parameter returns False if the SET AUTOMATIC RELATIONS command has not been called or if its previous execution did not modify manual one-to-many relations for example, SET AUTOMATIC RELATIONS(True;False).
Example
Refer to the example of the GET FIELD RELATION command.
See Also
GET FIELD RELATION, GET RELATION PROPERTIES, SET AUTOMATIC RELATIONS.