When I run a script in the "Current" area of the Data Viewer the value for an unstored calculated field shows "Missing Index". But when I go to the "Watch" area the value for the same field is visible. Likewise in table view the value of the unstored calc appears. However when I run a script and try to set the value of the unstored calculated field to a variable the variable comes out null.
1. Why to do the two tabs on the Data Viewer show different values?
2. How can I set the value of the unstored calc to a variable in a script?