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