Why does the PUSH KEY CLEAR and POP KEY not work? I thought that's what they were for? To clear the last ON KEY LABEL commands in the stack and then pull them back.
>Jay,
>
>ON KEY LABEL is an intercommand interrupt as you are finding out. You need to reset the ON KEY LABELS to be nothing so they don;t interrupt your running code as in;
>
>
>ON KEYT LABEL F2 *
>
>
>I am afraid that you will need to do this for all of the OKLs in effect and then reset them back when your code is finished. This is why I strongly encourage NOT using OKLs unless you need an intercommand interrupt. Use Key Press events or menus that you never show with hot keys (menus do not interrupt running code).