with_assscoiate_prompts_with_a_symbol_instance_.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #WITH (associate prompts with a symbol instance) ====== | |
#WITH( symbol , value )
prompts
#ENDWITH
#WITH | Allows a set of prompts to be associated with a single instance of a symbol (as specified by the value expression). |
symbol | A previously declared unique multi-valued template symbol. |
value | A string expression containing a unique value to add to the symbol. |
prompts | One or more #PROMPT statements whose values become dependent on the value of the symbol. This may also contain #DISPLAY, #VALIDATE, #ENABLE, and #BUTTON statements. |
#ENDWITH | Terminates the group of prompts associated with the #WITH symbol. |
The #WITH statement adds a new instance to the symbol (as specified by the value expression) and makes the values of all the prompts dependent upon that instance. #WITH allows the same set of prompts, with the same prompt symbols, to be used more than once on the same screen.
Example:
#WITH(%ClassItem,'Default')
#INSERT(%ClassPrompts)
#ENDWITH
with_assscoiate_prompts_with_a_symbol_instance_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1