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 before the table or view is closed.
PROCEDURE dbc_BeforeCloseTable(cTableName)
-Or-
PROCEDURE dbc_BeforeCloseTable
LPARAMETERS cTableName
Parameters
- cTableName
Specifies the name of the table or view being closed.
Remarks
You can use the dbc_BeforeCloseTable event to track access to the database before a table is closed in the current database.
Return .F. from this procedure to prevent the table from being closed.
Example
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_BeforeCloseTable ;
(cTableName)
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' cTableName = ' + TRANSFORM(cTableName) + ' - ' ;
+ TYPE('cTableName')+' /end/ '
ENDPROC