Reference Box

A Reference Box allows you to create layout-dependent text output, such as "Total from previous pages: num".

Reference Box (ReferenceBox type) is a layout container, found in the References group in the Tool Box view.

Because the space to be allocated may not be known until the report is run, make sure there is enough space available to display any possible text. Use the text property to provide an example, based on the underlying data type of the InfoNode object. This is only used to determine the maximum space to set aside. For example:

  • Data types that are numeric - "000,000,000.00"
  • Data types that are strings, for example CHAR(8) - "MMMMMMMM"

Properties

Select the object on the Report Design page to display its properties in the Properties View. You can change the object's default appearance by setting the values of its properties.

This object works in conjunction with an Info Node object, and its specific properties reference the Info Node:

  • InfoNode Name - the name of the InfoNode to be referenced
  • default - text to be displayed if the reference cannot be resolved. The default string is "-".

Additional properties are inherited from PageNo Box, Word Box.