Consultor Eletrônico



Kbase P82723: Can you get the 'real' name of the running program (.w) when running from the AppBuilder?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/06/2004
Status: Unverified

GOAL:

Can you get the 'real' name of the running program (.w) when running from the AppBuilder?

FIX:

When a window is executed from within the AppBuilder the code is written to a temporary file name on disk and then that temporary file is executed so when you attempt to use the PROGRAM-NAME function to return the "true" name of the program you will get the temporary file name.

The only way to get the PROGRAM-NAME function to return the "true" name of the program is to save the window you wish to run then option a Procedure Editor (Tools/New Procedure Window) from the AppBuilder and manually type in the RUN statement to run the window.