script name in a global text field
Is it possible to execute a "perform script" when the name of the script to be executed is stored in a global text field?
It is possible in a round-about way but there is no Perform Script By Name [ by calculation ] unfortunately.
You would need to create a hard-code If/Else construct such as:
If [ table::global = "Script 1" ]Perform Script [ Script 1 ]Else If [ table::global = "Script 2" ]Perform Script [ Script 2 ]Else If ......End If
Also note that hard-coding these script names will mean that you will break your scripts if you rename them and don't correct the text with the quotes to match.
Retrieving data ...