dbc_BeforeDeleteConnection Event

Occurs before a connection is deleted. There are two versions of the syntax.

PROCEDURE dbc_BeforeDeleteConnection(cConnectionName)

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

Tasks

How to: Enable or Disable DBC Events

Reference

dbc_AfterDeleteConnection Event

Other Resources

Events (Visual FoxPro)