NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on January 30, 2013, 11:02:31 PM
-
Using Web72 Progress example (7.04)
I'm trying to pass a date value from The StartProcess Form to the ProcessMakePage Source
Steps
Add a local variable Long FromDate to the StartProcessForm
Add a local variable Long FromDate to the ProcessMakePage Source
Add Fromdate as a date entry field to StartProcess File tab (see image 1.jpg)
In ProcessmakeFile
Add a line FromDate = p_web.GetValue('FromDate') after end of progressbar initialisation in ProcessCode Embed
and p_web._trace('FromDate ' & FromDate) just below
compile
run
Then select the date as (say) 1 January 2013
The result in the trace is 1 (see image 2.jpg)
Is there a method to receive the Clarion date rather that the day of the month, or should I be receiving the Clarion date and this is a bug?
[attachment deleted by admin]
-
perhaps you can post your modified example so I can duplicate it here?
cheers
Bruce
-
A pleasure. File attached
[attachment deleted by admin]
-
perhaps more of a hint than an answer.
In ProcessMakeFile change your Trace statement to read;
p_web._trace('FromDate ' & FromDate & ' GSV=' &p_web.GSV('FromDate') & ' V=' & p_web.GetValue('FromDate') )
I think that will be enough for you to progress.
cheers
Bruce