Variables


Report variables allow you to define calculations to be performed for every record. This can be used, for example, for running totals.

By default, Stonefield Query creates a variable called Report_RecordCount, which counts the number of records printed; this is used in the Summary band. Stonefield Query also creates one variable for each grouped field, named Report_GroupCount1, Report_GroupCount2, and so forth. These variables are used to count the number of records in each group and are displayed in the appropriate Group Footer bands.

To define or edit a variable, choose the Variables function in the Report menu.

The following options are available for variables: