SYMPTOM:
Users need to display the first and last values selected in a prompt auto text {&Promptn&} in a document in Strategy 9.x. Take the following as an example:
If users choose 2005 Q1, 2006 Q2, 2005 Q4 in the prompt, then the {&Promptn&} tag in the document will display as 2005 Q1, 2006 Q2, 2005 Q4. The {&Promptn&} in document will display all values selected in quarter prompt by default.
Instead, users want to show 2005 Q1 and 2006 Q2 from the auto text as the first and last values of the range so that they can dynamically have the following string in the document:
"Period 2005 Q1 to 2006 Q2"
ACTION
Follow the steps below to display the first and last quarter listed in quarter prompt auto text {&Promptn&}.





