Home > database >  The messagebox in pb
The messagebox in pb

Time:09-18

I was at a newly established an event ue_f dw_1, in the event there is a
If MessageBox (" prompt ", "whether to execute production statement," the Question! YesNo! , 1)=2, Then Return 1
In the statement below, there are many update,
Error: when I was running the event pop-up messagebox, I haven't click the button, the script below update is running (I) in the SQL trace out, what happened to it

CodePudding user response:

//good habits as follows
Int li_ret
Li_ret=MessageBox (" prompt ", "whether to execute production statement," the Question! YesNo! The 1)
If li_ret=2 Then Return 1

CodePudding user response:

Hello, xiajinxian, my code to run the output messagebox later, I haven't click the button, the database to track the following statement, that is to say the code no pauses for messagebox return values...

CodePudding user response:

There should be a written elsewhere triggered update
You can write in the datawindow sqlpreview events messagebox (' ', sqlsyntax)//test when what triggered update

CodePudding user response:

Upstairs + 1 · · · · · · · · · · · · · · · · · · · · · · ·

CodePudding user response:

Upstairs + 2 · · · · · · · · · · · · · · · · · · · · · · ·

You can update before this statement below to add a messagebox can know that the first messagebox not return will not perform a second messagebox

Unless a messagebox you rewritten...
  • Related