Data Tags are references through to datasets and fields within your DB Definitions.

Therefore you can use Data Tags wherever a component is connected to a DB Definition - you can reference any of the datasets of fields from the DB Definition.

To determine whether tags can be used, please refer to the component you are configuring.

Data Tags use the special opening tag <% and closing tag %> with percent signs (%) at the beginning and end of the tag. Between the tags you need to provide the dataset name and field name separated with a full stop, using the format <%datasetname.fieldname%>.

The tag will be translated into a string value based on the Display Format specified for the field.

As an example, using a dataset with a File Definition containing a table called INVOICELINE with several fields including InvoiceLine_ItemCode, and InvoiceLine_SubTotal.

  • To reference the InvoiceLine_ItemCode field you would use the tag <%INVOICELINE.InvoiceLine_ItemCode%>.

  • To reference the InvoiceLine_SubTotal field you would use the tag <%INVOICELINE.InvoiceLine_SubTotal%>.