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:

  1. You can press F3 and F4 at any time when specifying text of the element (tag contents) to bring up the Context Assistant.
  2. It is not necessary to include the tag symbols (<< and >>) in the text of the element.
  3. The text of the element is validated for syntax errors when you press OK on the dialog.
  4. The “Auto-calculated” property is not applicable for dynamic text elements.
  5. 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_COUNT function 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:

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.

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.

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.

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.