Error Message on OnlookUp button

LeoNavLeoNav Member Posts: 55
Hi, :D

I know it's a common issue but I didn't find solution yet.
I have a form with a standard OK button. Wen I clic on it, I do treatment but before doing thoses treatment (so directly after pushing the button), I receive this error message :

FORM X cannot close because the system is currently working.


I precise that the PushAction is set up to "LookupOK".

An idea ?

Answers

  • LeoNavLeoNav Member Posts: 55
    I tried to change the PushAction value to Stop. And it works fine. It prevent the button to close in the same time that I display my confirm dialog box and allow me to process other treatments.
  • SavatageSavatage Member Posts: 7,142
    Usually if I want a button to do multiple things - I just use the OnPush trigger & put all my code there and remove the button properties. It sounds like you got both going on & they are fighting each other.
Sign In or Register to comment.