BackPrevious Page Next PageNext

Formula Editor

This editor appears when you do either of the following:

It helps you to write a formula using the available resources, which may be used generally in JReport, as a dynamic resource in the current web report or library component or page report based on business view, or as a custom aggregation in a business view, or edit an expression using the available resources to control the value of a property.

Formula Editor

The following lists all the options that are provided in the editor. Some of them are not available depending on where the editor is opened.

Menu

Toolbar

Lists the commands on the toolbar.

Fields panel

Displays a list of those fields that are available for formulas. Those fields may contain table columns, formulas, summaries, parameters and special fields. Select one field and double-click it to insert it into the editing panel at the insertion point.

Functions panel

Displays a list of JReport functions and imported user defined formula functions that are available for formulas. When you select one function and double-click it, JReport will insert the selected function into the editing panel at the insertion point completely with its required syntax items (parentheses, commas, and so on). For the usage of these functions, refer to section Built-in Functions and User-defined Formula Functions.

Operators panel

Displays a list of operators that are available for formulas. Select one operator and double-click it to insert the selected operator into the editing panel at the insertion point. For the usage of these operators, refer to section Operators.

Formula text panel

In this panel, you can build and edit your formula. There are several ways to work with formula:

The line numbers of the formula are marked in the left of the panel to help you check it easily.

 

Related topics:

Creating a Formula

Creating and Using Uynamic Formulas

Adding a View Element

BackPrevious Page Next PageNext