dbc_AfterCreateView Event
Occurs after SQL view is created. There are two versions of the syntax.
PROCEDURE dbc_AfterCreateView(cViewName, lRemote)
PROCEDURE dbc_AfterCreateView
LPARAMETERS cViewName, lRemote
Parameters
cViewName
Specifies the name of the view that was created.lRemote
Specifies whether the view is remote.
Remarks
You can use the dbc_AfterCreateView event to track access to the database after a view is created.
Example
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterCreateView ;
(cViewName, ;
lRemote)
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' cViewName = ' + TRANSFORM(cViewName) + ' - ' ;
+ TYPE('cViewName ')
? ' lRemote = ' + TRANSFORM(lRemote) + ' - ' ;
+ TYPE('lRemote')+' /end/ '
ENDPROC
See Also
Tasks
How to: Enable or Disable DBC Events