Back Forward About expressions

  

An expression is a single text element that when evaluated by PRPC produces a string value. Users create both SQL expressions (or functions), for use in report definitions, and Java expressions for use in activities and other rules.

For information about SQL functions, see Report Definitions — Using the Function Builder.

The information below covers creating Java expressions.

Expressions in PRPC look similar to formulas in Microsoft Excel, but are based on Java language conventions.

You can type in an expression, or (in many places) use the Expression Builder tool to guide you in entering an expression. Expressions may include constants, property references, operators for arithmetic and logical operations, parentheses to control the order of evaluation, and functions.

Expressions can perform operations on data, including:

NoteDon't confuse expressions — used in many situations — with Declare Expression rules, which create expressions that are evaluated automatically. Declare Expression rules contain expressions, but so do many other rule types.

Expressions in rule forms

Expressions in HTML and XML streams

Definitions directive, expression, linked property. Type
Related topics Advanced topics — Expressions
Aggregate property references
How to enter constants in expressions
Data type conversions in expressions
Examples
Functions in expressions
Operators in expressions
Property reference in expressions
Working with the Expression Builder
Up Tools — Basics