Partager via


dbc_BeforeModifyTable Event

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

PROCEDURE dbc_BeforeModifyTable(cTableName)

PROCEDURE dbc_BeforeModifyTable
LPARAMETERS cTableName

Parameters

  • cTableName
    Specifies the name of the table modified.

Remarks

You can use the dbc_BeforeModifyTable event to track attempted access to the database before tables are modified.

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

See Also

Tasks

How to: Enable or Disable DBC Events

Reference

dbc_AfterModifyTable Event

Other Resources

Events (Visual FoxPro)