dbc_AfterDropRelation Event

JavaScript Editor js editor     Web development 

Main Page

Occurs after a relation is successfully dropped from a database. There are two versions of the syntax.

PROCEDURE dbc_AfterDropRelation(cRelationID, cTableName, cRelatedChild, cRelatedTable, cRelatedTag)
PROCEDURE dbc_AfterDropRelation
LPARAMETERS cRelationID, cTableName, cRelatedChild, cRelatedTable, cRelatedTag



Specifies the Relation ID stored in the database.

Specifies the name of the parent table.

Specifies the name of the linked column in the child table.

Specifies the table containing the linked column.

Specifies the index tag of the parent table.


You can use the dbc_AfterDropRelation event to verify appropriate values for cRelationID and the other parameters in a procedure that tracks, or manages access to the database after a relation is dropped from the database.

Return .F. from this procedure to prevent the relation from being dropped.

See Also

JavaScript Editor js editor     Web development