Hi,
Here is an example of what I am trying to do
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
IF vcount = 2 THEN
DO:
{&OUT}
'~<script language="javascript"~>~n'
'var abstyp = "Start";~n'
'prompt("Two records exist for this absence. Please Enter
Start/end", abstyp);~n'
' ~' ASSIGN vabs-type = ' abstyp '. ~';~n'
'~</script~>~n'
{&END}
END.
[/code]
I am doing some processing using PROGRESS, then prompting the user using
Javascript which is embedded inside
the PROGRESS code. My problem is trying to capture the response from the
user and assigning the response to
a PROGRESS variable.
regards
Ali OMRAN
Analyst/Programmer
KCS Management System
Here is an example of what I am trying to do
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
IF vcount = 2 THEN
DO:
{&OUT}
'~<script language="javascript"~>~n'
'var abstyp = "Start";~n'
'prompt("Two records exist for this absence. Please Enter
Start/end", abstyp);~n'
' ~' ASSIGN vabs-type = ' abstyp '. ~';~n'
'~</script~>~n'
{&END}
END.
[/code]
I am doing some processing using PROGRESS, then prompting the user using
Javascript which is embedded inside
the PROGRESS code. My problem is trying to capture the response from the
user and assigning the response to
a PROGRESS variable.
regards
Ali OMRAN
Analyst/Programmer
KCS Management System