Is there any way to show Yes/No dialog box in a custom event and perform operation based on user’s response?

Is there any way to show Yes/No dialog box in a custom event and perform operation based on user’s response?
Best answer by Banu Liyanapathirana
I’ve also never been able to get the Client_SYS.Add_Warning working.
I’m also not able to get this work. This should be handled on the client side in order to get it to work the Client_SYS.Add_Warning.
In normal routines like "NEW", "MODIFY" and "DELETE" the warning messages are only checked at the "CHECK" stage. That is also if the warnings are enabled on the window. However the information messages generated using Add_Info procedure in Client_SYS are always shown in the client.
In most of the cases the "CHECK" stage does not do any modifications on the database. Therefore the triggers associated with the Custom Events are not fired. Due to this reason it is not possible to use Client_SYS.Add_Warning calls to break the transactions in Event Actions.
So, it should be better to go for a customization/modification.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.