Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Occurs before a relation is added to the database.
PROCEDURE dbc_BeforeAddRelation(cRelationID, cTableName, cRelatedChild,
cRelatedTable, cRelatedTag)
-or-
PROCEDURE dbc_BeforeAddRelation
LPARAMETERS cRelationID, cTableName, cRelatedChild, cRelatedTable,
cRelatedTag
Parameters
- cRelationID
Specifies the Relation ID number stored in the database. - cTableName
Specifies the name of the parent table. - cRelatedChild
Specifies the name of the linked column. - cRelatedTable
Specifies the table containing the linked column. - cRelatedTag
Specifies the index tag of the parent table.
Remarks
You can use the dbc_BeforeAddRelation event to verify appropriate values for the parameters in a procedure that tracks, or manages access to the database before a relation is added to the database.
Return .F. from this procedure to prevent the relation from being added.