Occurs before a connection is renamed. There are two versions of the syntax.
PROCEDURE dbc_AfterRenameConnection(cConnectionName, cNewName)
PROCEDURE dbc_AfterRenameConnection LPARAMETERS cPreviousName, cNewName
- Specifies the previous name of the connection.
- Specifies the new name of the connection.
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.