Using message fields
Message Fields let you mix dynamic and static text, sort of like a combined Label and Text Field. Here's an example:
The date is $(report.date, date, d MMMM yyyy)
This will show in the report as:
The date is 6 November 2008
The first part ("The date is") is static. The variable afterwards has three sections:
- The field to use. Here we are using the internal function 'report.date' to give the current date, but you could also use a field from the database query.
- The data type. This data is of type 'date'.
- The format in which to display the data.
No comments:
Post a Comment