Occurs after a table is created in the active database. There are two versions of the syntax.
PROCEDURE dbc_AfterCreateTable(cTableName, cLongTableName) |
PROCEDURE dbc_AfterCreateTable LPARAMETERS cTableName, cLongTableName |
Parameters
- cTableName
- Specifies the name of the table that was created.
- cLongTableName
- Specifies the long name for the table that was created.
Remarks
This event does not occur when you create a free table.
You can use the dbc_AfterCreateTable event to verify appropriate values for cTableName or cLongTableName, use those parameters in a procedure to track, or manage access to the database after a table is created in the database.
Example
| В | Copy Code |
|---|---|
PROCEDURE dbc_AfterCreateTable ;
(cTableName, ;
cLongTableName)
? ' cTableName = ' + TRANSFORM(cTableName) + ' - ' ;
+ TYPE('cTableName ')
? ' cLongTableName = ' + TRANSFORM(cLongTableName) + ' - ' ;
+ TYPE('cLongTableName ')+' /end/ '
ENDPROC | |
js editor
Web development