i cannot modify value from global part
Posted: August 20th, 2016, 5:23 am
Hi,
i found a strange thing that i am not sure if cspro is intended to do that or not.
I plan to do some calculation in the global part, and then write a value into a field in the same dictionary from the global logic part. I find that, if the field is empty (never saved before), it works. But once the field has been saved in a data file, i cannot modify the value from global part.
e.g. i have done the calculation before, and got a value 0, it was stored in the data file. when next time if i got a new value 1, it was calculated correct in the global part, but the moment I got into the form (Supervisor_control), it disappeared, instead the old value from the data file was loaded.
as you seen in the attached file, there is nothing between the end of global part and the begin of form part. best
jing
i found a strange thing that i am not sure if cspro is intended to do that or not.
I plan to do some calculation in the global part, and then write a value into a field in the same dictionary from the global logic part. I find that, if the field is empty (never saved before), it works. But once the field has been saved in a data file, i cannot modify the value from global part.
e.g. i have done the calculation before, and got a value 0, it was stored in the data file. when next time if i got a new value 1, it was calculated correct in the global part, but the moment I got into the form (Supervisor_control), it disappeared, instead the old value from the data file was loaded.
as you seen in the attached file, there is nothing between the end of global part and the begin of form part. best
jing