Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Occurs after a table or view is opened.
PROCEDURE dbc_AfterOpenTable(cTableName)
-or-
PROCEDURE dbc_AfterOpenTable
LPARAMETERS cTableName
Parameters
- cTableName
Specifies the name of the table or view that was opened.
Remarks
You can use the dbc_AfterOpenTable event to track access to the database after a table is opened in the database.
If the underlying tables are not open when a view is opened, this event occurs for both the tables and the view.
Example
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterOpenTable ;
(cTableName)
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' cTableName = ' + TRANSFORM(cTableName) + ' - ' + TYPE('cTableName')+' /end/ '
ENDPROC