Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs after SQL view is created.
PROCEDURE dbc_AfterCreateView(cViewName, lRemote)
-or-
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