> Building your report / Expressions

In this section

Q: Expressions and snippets

Expression Snippets

Functions

See also

Variables (data fields)

Herb 50 Accounts example: Expressions

Herb 50 Payroll example: Expressions

Expressions

Introduction

An expression tells Report Designer what information to include in a report. When the report is generated, each expression is calculated to produce a value. This value may come directly from the database, or be the result of further calculations on the information in the database.

An expression is a formula that can include:

There are some rules to follow when constructing an expression (see Q: Expressions and snippets). To help construct expressions, an Expression Editor is displayed when you work with expressions.


You can use expressions to


Add an expression

To add an expression:

  1. Select  Add Expression from the toolbar, or choose Toolbox > Add Expression.
  2. Click the report where you want to add the expression.

    The Expression Editor appears.

  3. To construct the expression drag and drop variables and functions from the right-hand panes into the left-hand pane.

Tip: You can view the values/information associated with a variable (as stored in your data) using the Expression Editor. Select the variable from the Fields pane, then click Show Field Values.

Tip:

 This feature is only available for:
Herb 50 Accounts, Herb 50 HR, Herb 200.

You can save frequently used expressions, which are referred to as expression snippets. See Expression Snippets.


Go to top