QUERYWHEN (subpanel)
Forces data collection when the default behavior is to not drive data collection, or surpresses collection until user types in information.
- Possible values
- ENTER
Drives query when Enter key is pressed
- RETURN
Drives query when user returns to the workspace.
- MIN
Drives query when subpanel is minimized.
- COLLAPSE
Drives query when subpanel is collapsed.
- ZQUERY
Suppresses a query until the user types something in, even when the Enter key has been pressed. For example, you might want to suppress a Take Action command or Get Response query until the user has actually entered some kind of command. So, the REXX EXEC that builds the data field used in the query will also set the variable ZQUERY=YES. The subpanel in question is be coded with QUERYWHEN=ZQUERY, so it will only be driven when the variable is set (that is, a positive value like YES). If ZQUERY is null, the query is not driven.
- ENTER
- Default value
- By default, no data collection is driven when subpanels are scrolled, expanded, collapsed, or minimized. No collection is driven during when pulldown or popup panels are being displayed, and no collection is driven during backward navigation.
Example
QUERYWHEN=COLLAPSE