Overview

The value for a property of a report item can be a literal value, or it can be derived from an expression that is written using the RTL Expressions language. RTL Expressions allow you to define runtime values for any property of a report item, except for those properties that display a specific set of valid values in a dropdown listbox.

Enter an expression in a field of the Properties View, by clicking the Value field. To enter longer values, or obtain hints while typing the entry, click the f(x) button of the desired property to open the RTL Expression Editor:


This figure is a screenshot of the Edit Expression dialog, which allows you to enter an expression to determine the runtime value for a report property.

Figure 1. Edit Expression dialog

The acceptable choices for the next character are displayed as you type. If you press Ctrl Space while entering an expression, a Code Completion box appears containing a list of the valid choices based on the context.

RTL Expressions:

RTL Classes provide member functions (methods) and member variables that you can use in your expressions. There is a class for each type of a form property.

Important: Numeric data types are limited to 15 significant digits. To avoid problems with totals in reports, do not calculate the value of an item that is part of a total using an RTL expression. Perform any calculations in the BDL program.