JavaScript Editor js editor     Web development 



Main Page

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

PROCEDURE dbc_BeforeModifyProc(В ) 

Remarks

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.

Example

В 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.
ENDPROC

See Also



JavaScript Editor js editor     Web development