Redisplay Arev Window (AREV Specific)
At 01 NOV 1999 11:47:00AM Dave Berkovsky wrote:
Hello,
I would like to force Arev window to replay
new values assigned to @RECORD.
Can someone help me with this problem.
Thanks in advance.
At 01 NOV 1999 11:57AM Mike Ruane, WinWin Solutions Inc. wrote:
Dave-
It depends upon the fields you are updating, but look at DISPLAY.ACTION and AMV.ACTION
At 02 NOV 1999 03:24AM Ray Chan wrote:
I think a RESET=5 will force a refresh of the window.
At 02 NOV 1999 11:03AM Michael Slack wrote:
Look in your Advanced Revelation Developer Series Window Common Reference manual. For this question and a lot of other things, this is a very helpful manual.
It sounds as if you want to set the windows WC_DISPLAY_ACTION% variable to 5 or REDISPLAY_PROMPTS$. Along with that you will need the windows WC_RESET% variable to 3 or RESET_EDIT$. These two would be used to redisplay the whole window.
If you wanted to redisplay only certain prompts within the window then you would probably want to use the window WC_REDISPLAY_LIST% variable with WC_DISPLAY_ACTION% set to 6 or REDISPLAY_LIST$ and WC_RESET%. The thing to remember about this one is that the numbers that go into the WC_REDISPLAY_LIST% are window prompt numbers and not dictionary column numbers. That wasy you can reference prompts that are backed by a sumbolic or are on a collection window.
I would hightly recommend that you brouse thru the Window Commona Reference manual to get an idea of what is available. There is some very helpful stuff in there along with some very powerful stuff. Don't let the manual format put you off. If all you do is read the general discription at the beginning of each window common variable to start with, you'll start to see some of the things you can do with them.
Michael Slack