How to get back to the calling screen?

user6814009 picture user6814009 · Nov 8, 2016 · Viewed 13.6k times · Source

my current screen-build looks like this:

current-program

But when i try to get back from Screen 250(called screen) to 100(the calling screen) it just leaves the program.

    CASE OK_CODE.
*Navigation back to the calling screen
    WHEN 'BACK'.
      SET SCREEN 0.

I hope you guys could help me out. Thanks!

Answer

Tobsen picture Tobsen · Nov 8, 2016

You might want to try LEAVE TO SCREEN 100 instead of SET SCREEN 0.

This post gives detailed infos about it.