dbc_BeforeRenameView Event

JavaScript Editor js editor     Web development 



Main Page

Occurs before a view is renamed. There are two versions of the syntax.

PROCEDURE dbc_BeforeRenameView(cPreviousName, cNewName)
PROCEDURE dbc_BeforeRenameView
LPARAMETERS cPreviousName, cNewName

Parameters

cPreviousName


Specifies the current name of the view.
cNewName


Specifies the new name of the view.

Remarks

You can use the dbc_BeforeRenameView event to track attempted access to the database before views are renamed.

Return .F. from this procedure to prevent the view from being renamed.

See Also



JavaScript Editor js editor     Web development