dbc_AfterRenameConnection Event
Occurs before a connection is renamed.
PROCEDURE dbc_AfterRenameConnection(cConnectionName, cNewName)
-or-
PROCEDURE dbc_AfterRenameConnection
LPARAMETERS cPreviousName, cNewName
Parameters
- cPreviousName
Specifies the previous name of the connection. - cNewName
Specifies the new name of the connection.
Remarks
You can use the dbc_AfterRenameConnection event to track changes to the database as connections are renamed.
Return .F. from this procedure to prevent the connection from being renamed.
See Also
Enable or Disable DBC Events | dbc_BeforeRenameConnection Event