Editing Tag Expression (Dynamic Text) Elements
Setting properties of a dynamic element is very similar to setting properties of a static text element – see Editing Text Element. The differences are summarized below:
- You can press F3 and F4 at any time when specifying text of the element (tag contents) to bring up the Context Assistant.
- It is not necessary to include the tag symbols (
<<and>>) in the text of the element. - The text of the element is validated for syntax errors when you press OK on the dialog.
- The “Auto-calculated” property is not applicable for dynamic text elements.
- You can set the Evaluation Details property of the dynamic text element. This property is only applicable when the contents of the tag represent a report specific expression (such as
ELEMENT_COUNTfunction or an aggregate expression without a condition - see Reports). The property determines when the expression inside the tag is going to be calculated at run time. The following options are available:
At the end of the report
Select this option if you want the calculation to be performed only once at the end of the report. If, for example, the ELEMENT_COUNT function is used in the tag expression, the result of the calculation will be the total number of elements in the report.
At the end of each page
Select this option if you want the calculation to be performed at the end of each page of the report. If, for example, the ELEMENT_COUNT function is used in the tag expression, the result of the calculation will be the number of elements on each page in the report.
At the end of each column
Select this option if you want the calculation to be performed at the end of each column of the report. If, for example, the ELEMENT_COUNT expression is used in a tag expression, the result of the calculation will be the number of elements in the report column.
At the end of the group
Select this option if you want the calculation to be performed at the end of the specified group. If, for example, the ELEMENT_COUNT function is used in the tag expression, the result of the calculation will be the number of elements in the group. You must also select the name of the group.