Hi all again. I need to ask a user for yes/no within a script. I'm trying to use the object.yes.no RAD application, as explained in S6N-H1F-84TD, but it seems to work everywhere but within a script.
I've assigned a id to a button that is bind to a option in a displayscreen record. That option executes my script using script.execute. After make some else processing, my script calls the object.yes.no application with 'prompt' parameter assigned to a global variable named $G.thisvariable. The dialog pops up, but the variable doesn't get assigned at all.
I've executed the object.yes.no application alone and it works fine. I'd like to know how I to use it within a script.
Can anyone help me? Thanks in advance.
Luis.
I've assigned a id to a button that is bind to a option in a displayscreen record. That option executes my script using script.execute. After make some else processing, my script calls the object.yes.no application with 'prompt' parameter assigned to a global variable named $G.thisvariable. The dialog pops up, but the variable doesn't get assigned at all.
I've executed the object.yes.no application alone and it works fine. I'd like to know how I to use it within a script.
Can anyone help me? Thanks in advance.
Luis.