dbc_BeforeDeleteConnection Event

Occurs before a connection is deleted.

PROCEDURE dbc_BeforeDeleteConnection(cConnectionName)

-or-

PROCEDURE dbc_BeforeDeleteConnection
LPARAMETERS cConnectionName

Parameters

  • cConnectionName
    Specifies the name of the connection.

Remarks

You can use the dbc_BeforeDeleteConnection event to track attempted access to the database before connections are deleted.

Return .F. from this procedure to prevent the connection from being deleted.

See Also

Enable or Disable DBC Events | dbc_AfterDeleteConnection Event