|
|||||||
Uncommon Knowledge - WC_Amv_Action%Flag variable used to tell the window processor what action to take on the current (or in the case of one value, all) AMV group. Note that this will actually work regardless of whether the prompt is an AMV or not (i.e. if it is just a normal MV) as long as it is grouped to itself. The possible values are as follows 1 CLEAR - clears AMV group and resets counters (WC_Amv_Vars%<1> + <3>) even if the current prompt is protected. 2 DELETE - deletes line at WC_Mv% in AMV group (and resets counters) if the current prompt is not protected. Note that if prompts within the AMV group are protected but the current prompt is not, 2 will still work. 3 INSERT - inserts blank line at WC_Mv% in AMV group (and resets counters) if the current prompt is not protected. Note that if prompts within the AMV group are protected but the current prompt is not, 3 will still work. 4 CHANGED - used to tell the system that the number of elements in the AMV group has been changed and thus resets counters regardless of protection status. 5 CHANGED ALL - used to tell the system that the number of elements in other AMV groups has been changed and thus resets counters for all AMV groups regardless of protection status. Note that because this variable relies upon there being a current AMV group, it is only meaningful to try to set it within the context of an AMV group (other than in the case of WC_Amv_Action% = 5). To force the system to recognise that WC_Amv_Action% has been set, the following action must be taken (remember that different values of WC_Reset% have different effects on WC_Is% and WC_Is_Orig% - see Vol 2 Issue 8 for full details):- DefaultSetting WC_Reset% to 4 will run the Pre Prompt logic followed by the Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. Setting WC_Reset% to 5 will run the Pre Prompt logic and if WC_Amv_Action% and WC_Reset% are not changed will take action. Pre PromptSetting WC_Reset% to 4 will run the Perpetual logic and if WC_Amv_Action% and WC_Reset% are not changed will take action. Setting WC_Reset% to 5 will just take the action. OptionsSetting WC_Reset% to 2 or 3 will run Post logic followed by the Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. Setting WC_Reset% to 4 will run Perpetual logic and if WC_Amv_Action% and WC_Reset% are not changed will take action. Setting WC_Reset% to 5 will just take the action. EditNo action necessary. Will run Post logic then Perpetual logic and, if WC_Amv_Action% is not changed, will take action. PostNo action necessary. Will run Perpetual logic and, if WC_Amv_Action% is not changed, will take action. If WC_Reset% is set to 5 the Perpetual logic will not be run but the action will be taken. InvalidSetting WC_Reset% to a number between 1 and 5 will reprompt for the information. If the Edit logic does not then WC_Reset% WC_Amv_Action% or WC_Reset% the following will occur. If WC_Reset% was set to 1 2 or 3 it will run Post logic followed by the Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. If WC_Reset% was set to 4 it will run Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. If WC_Reset% were set to 5 it will just take the action. SoftkeysSetting WC_Reset% to 2 or 3 will run Post logic followed by the Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. Setting WC_Reset% to 4 will run Perpetual logic and, if WC_Amv_Action% and WC_Reset% are not changed, will take action. Setting WC_Reset% to 5 will just take the action. (Volume 2, Issue 9, Page 8) |
|||||||
| |||||||