Example - controlling dependent lists with variables
Selecting an element from a combo box determines the display of a list held in a hyperblock.
- Create a combo box on the worksheet.
- Link the combo box to the Period dimension.
- In the List Designer click the Select Level icon and select Quarters from the list. The combo box displays only the quarters elements.
- Create the report variable rv_period.
- Right-click the combo box and select Object Properties. Specify rv_period as the output variable.
- Create a hyperblock and link it to the Period dimension.
- Select the hyperblock. In Structure Selection, click Select Children and select <Edit Formula> from the Element drop down list in Selection Settings.
- In the Edit Formula dialog, click Variables and double-click rv_period.
-
Apply the changes to the list.
In View mode, as you select different quarters from the combo box, the list in the hyperblock displays the appropriate months.
Related topics
- List objects
- Structure Selection
- Associating list objects with lists
- Using actions to restructure a list