STRPCCMD - pausing in RPG code until window becomes active
Posted: Wed May 29, 2013 12:22 pm
Hi
I am using Genie to display a screen that uses STRPCCMD to fire up a Word document.
While Word is the active window, the Client Access session waits at the STRPCCMD line of code until the session becomes the active window again. This is essential for us as we want the user to save and close the Word doc before continuing through the green screens.
I have the Word doc firing up fine from the Genie version of the screen, but the browser is moving on to the next screen (in the window behind the Word doc) rather than waiting.
Is there any way in Genie to replicate the way it 'waits' in Client Access?
Thanks
Jon
I am using Genie to display a screen that uses STRPCCMD to fire up a Word document.
While Word is the active window, the Client Access session waits at the STRPCCMD line of code until the session becomes the active window again. This is essential for us as we want the user to save and close the Word doc before continuing through the green screens.
I have the Word doc firing up fine from the Genie version of the screen, but the browser is moving on to the next screen (in the window behind the Word doc) rather than waiting.
Is there any way in Genie to replicate the way it 'waits' in Client Access?
Thanks
Jon