Share via


dbc_BeforeModifyConnection Event

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

PROCEDURE dbc_BeforeModifyConnection(cConnectionName)

PROCEDURE dbc_BeforeModifyConnection
LPARAMETERS cConnectionName

Parameters

  • cViewName
    Specifies the name of the connection modified.

Remarks

You can use the dbc_BeforeModifyView event to track attempted access to the database before connections are modified.

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

See Also

Tasks

How to: Enable or Disable DBC Events

Reference

dbc_AfterModifyConnection Event

Other Resources

Events (Visual FoxPro)