Prompt recalc in AMV group (AREV Specific)
At 15 OCT 1998 03:50:34PM Tony Smisovsky wrote:
Hi.
I have two very similar templates.
There is an AMV group of prompts involved.
In another promt, there is a Symbolic value, which is a sum of all rows in one of the prompts included in the group.
In one of the templates, the symbolic value is recalculated as it should, but in the other one it is recalculated, when I leave the first prompt in the group, which is not containing anything intresting for the symbolic prompt.
I wrote a simple subroutine
DISPLAY.ACTION=RECALC.PROMPTS$
and put it in POST PROMPT for the prompt containing values for sumation, but why did I have to do this in one template and not in the other?
Thanks for an answer
Tony.
At 29 OCT 1998 09:45PM Aaron Kaplan wrote:
Have you looked at the recalculation options of the window?
apk@sprezzatura.com
At 30 OCT 1998 01:44PM Tony Smisovsky wrote:
Now I did. Thanks.
One never stops learning…
For some reason somebody (must be me) changed the Recalculation to:
Recalculate according to dependency.
While in the other window it was set to Allways (default)
The "according to…" option should be the optimal one, but it does not work here. I suppose this was disscussed many times in the past, so just in case you feel like it:
Can you explain this option to me?
Does it ever work for anything?
Regards Tony.
At 01 NOV 1998 05:34PM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:
Dependong on the version, dependancy only works if curly brace definitions are used in the symbolic, some versions use @record as well. It's all based on dict.depend or something like that. The window common var rec_map should have the info on the recalc info.
Anyway, the system goes through each symbolic and calcuates what fields are called and then flags them so that when they are changed, it knows which ones to update.
akaplan@sprezzatura.com