This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Executing an instruction in a column label
This example assumes that you have a questionnaire which rates aspects of the services you provide. For each aspect, you have created a set of recommendations on how to improve it.
If a negative rating is received, you want to provide the appropriate set of recommendations in the report.
You need to:
- set a condition on the recommendations, so the short report is only created if the mean satisfaction is below a certain value
- create a table which sorts the ratings by their mean value
- overtype the column labels with the name of the report containing the appropriate recommendations
- add an instruction to your report which executes whatever report name is found in the lowest ranked column label
Using an executable report name as a column label
A named report of recommendations has been created for each area that is included in the ranking. The table used to rank the areas has been set up to include the names of the recommendation reports as the column labels.
- Set up the table definition. Add the to the summary statistics
- Set the ordering to be reversed by the mean.

- Click to display the table.
- Double-click in the column label area to open the dialog.

- Enter the name of the report you wish to run if the selected item has the lowest ratings.
- Click to save your changes.
- Repeat for all the column labels and then save the table.

- Add an instruction to the report you wish to run.
- Type the table label reference into the field.

- Click [OK] to save your instruction. Add any other references into your report.

- When is executed, it includes the appropriate recommendations in the report.
