onBeforeDelete
This event occurs before deleting rows on form applications. Ex: Before delete a row it is possible to verify the users privileges, if the user has no delete privilege the transaction is cancelled automatically. sc_lookup(priv_del," select priv_del from tb_privileges where login = [var_login] "); if({priv_del[0][0]} != 'Y') { sc_erro_mensage(" você nao tem privilégios para executar esta operação "); }