NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: broche on May 06, 2014, 10:29:01 AM
-
Hi All,
NT 8.1
CL 9.0
On a form I have a check box (CVF:EditCommitt)
When this check box is clicked I do a bunch of stuff like calculating the value of the document and checking some other fields to make sure all is well.
Bruce showed me how in last webinar but still not getting it quite right (slow learner)
It might be what I am expecting that is wrong:
do ValidateValue::CVF:EditCommitt ! copies value to session value if valid.
! Start of "After Validate New Value"
! [Priority 5000]
! Calculate Values and Check Status
Loc:HowBilled = p_web.GSV('CVF:HowBilled')
The above is the embed I am using
I assign all the fields I want using p_web.GSV(.....
I do the calculations and I know they all work I have checked the results.
When I have completed all the calcs and checks I do the following
p_web.SSV('CVF:PayValue',Loc:PayValue)
p_web.SSV('CVF:LinesPaid',Loc:LinesPaid)
p_web.SSV('CVF:DocValue',Loc:DocValue)
p_web.SSV('CVF:CalcLine',Loc:CalcLines)
p_web.SSV('CVF:PayValue',Loc:PayValue)
Not sure if these lines are correctly formatted?
None of the fields on the form reflect the new values either, so not sure what else I need to do here?
Tried this just putting numbers (p_web.SSV('CVF:PayValue',200), no joy.
Tried it with inverted comma's on the last field?
What I expected was that the new values would show on the form.
Brian.
-
Hello Brian,
Have You remembered to add the fields CVF:PayValue etc in the Reset -table on the Client-Side Tab on your check-box?
I usually forget...
:: rainer
-
That was it - Thanks a bunch Rainer
Now I know ...