Megosztás a következőn keresztül:


dbc_AfterAddRelation Event

Occurs after a relation is successfully added to the database.

PROCEDURE dbc_AfterAddRelation(cRelationID, cTableName, cRelatedChild, cRelatedTable, cRelatedTag)

-or-

PROCEDURE dbc_AfterAddRelation
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 in the child table.
  • cRelatedTable
    Specifies the table containing the linked column.
  • cRelatedTag
    Specifies the index tag of the parent table.

Remarks

You can use the dbc_AfterAddRelation 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 added to the database.

See Also

Enable or Disable DBC Events | dbc_BeforeAddRelation Event