Using the Variables Sheet

The Variables sheet of the Catalog of Available Fields dialog enables you to create report variables.

The following image shows the Variables sheet with variables that have previously been created.

Report variables are used in scripts in the same way as parameters. Where a report variable is used in more than one script, the order in which the scripts are executed is important. For more details about report execution, see "Report Execution", in Appendix A.

To check on the usage of the currently selected item in the current report, use the Usage command, by right-clicking on the field. The script for each reporting phase is then displayed in order in which they will be executed for each item within that phase. For more details, see "Displaying Field Usage", later in this section.

Alternatively, you can view the order in which scripts and summaries are evaluated when the report is run from the Report Script and Summary Evaluation dialog. For more details, see "Evaluation Phases", later in this chapter.

The following subsections describe how to create and maintain report variables,