twice messagebox
I have a button that performs two functions and after they are executed it has to show a message "Successfully Updated!". According to the code below:
//Create Button
create=button=name=Atualiza Roteiro,menutext=Atualiza Roteiro,text=Atualiza Roteiro,position=1
//Create event click
windowevent click AtualizaRoteiro
sql=exec fravi_recursos_op_up 1
sql=exec fravi_recursos_op_up 2
messagebox=Roteiro atualizado!
end event
0
-
Hi,
I was able to fix the error by changing the code to:
global function dw_master_item_AtualizaRoteiro_click
sql=exec fravi_recursos_op_up 1
sql=exec fravi_recursos_op_up 2
messagebox=Roteiro atualizado!
global endwith windowevent the beas runs twice, where as with global function it doesn't
Iniciar sesión para dejar un comentario.
Comentarios
1 comentario