Setting Field Properties using a Format Script
The Format Script dialog enables you to set properties for report fields from within scripts. This provides conditional control of properties such as item color and visibility so that they depend on values being reported.
Click the Format Script button on the field properties dialog to define field format scripts. If a format script exists for the selected field, the Format Script button is blue, if no script exists, the Format Script button is gray.
The Format Script form, shown in the following image, is then displayed. Setting the field values in the format script, overrides the selections made on the Field Properties dialog.
The Format Script dialog that you use to define and maintain format scripts is similar to that used for user scripts, except that a format script does not require a name and return type. In addition, a format script is always a full script rather than a single expression.
For details about writing scripts, see Appendix A, "Using JADE Report Writer Scripts".