Solved

Force Screen Refresh in PLSQL?

  • 1 June 2020
  • 2 replies
  • 372 views

Userlevel 3
Badge +9

Is there any way to force a screen refresh after displaying an error message. Currently user has to OK the error, then click refresh and then click no to not save.

Error_SYS.Appl_General('INFO',message_); 

Thanks,

icon

Best answer by dsj 1 June 2020, 09:54

View original

2 replies

Userlevel 7
Badge +20

Hi @chrisplant ,

 

That depends on how the error is triggered.

If the error is triggered from PLSQL or inside an event action, then answer is No, 

If it’s triggering from a from a Custom Menu of PL/SQL Block type, then you can use the option refresh window after execution to force refresh data in the screen.

 

Cheers!

Userlevel 4
Badge +9

I assume this after a custom event has triggered?

You’re options are a bit limited (zero to none!) post custom event as the event is firing outside of the UI (it is called ‘underneath’ the screen) but it’s only after you get back into the logic of the screen that the message stack is unwound and the messages are displayed. The message doesn’t actually fire inside the event itself so I’m not sure how you tell the UI to refresh.

 

Reply