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 a SQL view (updateable cursor) is created.
PROCEDURE dbc_BeforeCreateView(cViewName)
-or-
PROCEDURE dbc_BeforeCreateView
LPARAMETERS cViewName)
Parameters
- cViewName
Specifies the name of the view being created.
Remarks
You can use the dbc_BeforeCreateView event to track attempted access to the database before a view is created.
Return .F. from this procedure to prevent the view from being created.
Example
* Reports to the screen Event name, where it is called from and ;
* the parameters passed.
PROCEDURE dbc_BeforeCreateView ;
(cViewName, ;
lRemote)
? '>> ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? ' cViewName = ' + TRANSFORM(cViewName) + ' - ' ;
+ TYPE('cViewName ')+' /end/ '
*RETURN .f.
ENDPROC