sc_lookup(Botoes,"Select INSERE From AUTORIDADES Where USUARIO_LOGIN = '[UsuarioSessao]' And PROGRAMA_NOME = '{sc_script_name}'","Oracle"); {INSERE} = {Botoes[0][0]}; if( {INSERE} == 1) { sc_btn_display ('insert', 'on'); }