JavaScript Editor js editor     Web development 

Main Page

Occurs before the stored procedures in the open database are modified.

PROCEDURE dbc_BeforeModifyProc(В ) 


You can use the dbc_BeforeModiProc event to track attempted access to the database before the stored procedures are modified.

Return .F. from this procedure to prevent the stored procedures from being modified.


В Copy Code
* Reports to the screen Event name, and where it is called from. 
PROCEDURE dbc_BeforeModifyProc
 ? '>>   ' + PROGRAM()
 ?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? DBC()
RETURN .F. && prevents modification of stored procedures.

See Also

JavaScript Editor js editor     Web development