Occurs before a table is renamed. There are two versions of the syntax.
|
---|
PROCEDURE dbc_AfterRenameTable(cPreviousName, cNewName) |
|
---|
PROCEDURE dbc_AfterRenameTable
LPARAMETERS cPreviouName, cNewName |
Parameters
-
cPreviousName
-
Specifies the current name of the table.
-
cNewName
-
Specifies the new name of the table.
Remarks
Example
В | Copy Code |
---|
PROCEDURE dbc_AfterRenameTable;
(cPreviousName, ;
cNewName)
? '>> ' + PROGRAM()
?? 'in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1
? ' Current DBC: ' + SUBSTR(DBC(),RAT('\',DBC())+1
? ' cPreviousName = ' + TRANSFORM(cPreviousName) + ' – ' + TYPE('cPreviousName ')+' /end/ '
ENDPROC |
See Also