"+IIF(myVariabl = .T., "Filter", "Remove Filter")+"Then when the menu code generates, it will produce code such as:
DEFINE BAR 1 OF shortcut PROMPT ""+IIF(myVariabl = .T., "Filter", "Remove Filter")+""which is legitimate syntax.
IIF(myVariabl = .T., “Filter”, "Remove Filter”)When I put this in the prompt box in shortcut designer I get the following error:
DEFINE BAR 2 OF shortcut PROMPT "IIF(myVariabl = .T. , "\<Filter", "\<Remove Filter")">Command contains unrecognized phrase/keyword.