Megosztás a következőn keresztül:


dbc_AfterCloseTable Event

Occurs after a table or view is closed.

PROCEDURE dbc_AfterCloseTable(cTableName) 

-Or-

PROCEDURE dbc_AfterCloseTable
LPARAMETERS cTableName

Parameters

  • cTableName
    Specifies the name of the table or view being closed.

Remarks

You can use the dbc_AfterCloseTable event to track access to the database after a table is closed in the current database.

Example

* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterCloseTable ;
         (cTableName)
? '>>   ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? '     cTableName = ' + TRANSFORM(cTableName) + ' - ' ;
                   + TYPE('cTableName')+' /end/ '
ENDPROC

See Also

Enable or Disable DBC Events | dbc_BeforeCloseTable Event