Occurs after a table is added to an active database. There are two versions of the syntax.
PROCEDURE dbc_AfterAddTable(cTableName, cLongTableName) |
PROCEDURE dbc_AfterAddTable LPARAMETERS cTableName, cLongTableName |
Parameters
- cTableName
- Specifies the name of the table being added to the database.
- cLongTableName
- Specifies the long name of the table being added to the database.
Remarks
You can add method code to the dbc_AfterAddTable event that performs functions like updating your data dictionary or sending an email to the database administrator.
This event does not occur when you create a table in the database.
Example
В | Copy Code |
---|---|
PROCEDURE dbc_AfterAddTable ; (cTableName, ; cLongTableName) ? ' cTableName = ' + TRANSFORM(cTableName) + ' - ' ; + TYPE('cTableName ') ? ' cLongTableName = ' + TRANSFORM(cLongTableName) + ' - ' ; + TYPE('cLongTableName ')+' /end/ ' ENDPROC |