In the report generator you can use calculated fields.
A calculated field is, as the name describes, a field where you can make different calculations.
These calculations can either consist of a field from the "Field List" (one of the database fields) or a calculation generated in the "Expression Editor"
Create a calculated field
- Select Field List on the right side of the report generator
- You can place the field in the root by right-clicking on CompanyInfo and selecting "Add calculated field"
- The field is now placed in the root, along with the other fields.
- You can place the field under DebtorInfo, for example, by right-clicking on DebtorInfo and selecting "Add calculated field" and the field will now be placed under the DebtorInfo table.
- If you right-click on one of the tables or the calculated field, you can choose to Add, Edit the selected or all calculated fields.
Create an Expression
- Right-click on the calculated field and select "Edit Expression..."
- The Expression editor opens and here you can write your expression.
- To avoid mistakes in the way you write your expression, you can click on the functions and fields you want to use.
- Remember to drag the field out on the report to display it.