2.341.6.5 ReportItems

Only text boxes appear as ReportItem objects in the ReportItems collection.<190>

The ReportItem object has a collection of predefined properties that, if referenced from expressions, MUST be referenced by using either the property syntax or the collection syntax (see the Fields object).

The only property defined for ReportItem is Value. The data type of Value is Variant.

The value of the current ReportItem can be referenced in property expressions by using Me.Value or simply Value. Aggregate functions MUST NOT include a reference to Me.Value or Value.

Expressions SHOULD NOT reference report items that are not defined at or above the current grouping scope (such as peer or descendent grouping scopes). If such a reference is used, the result is undefined.

The scope for expressions in page headers and page footers is considered to be items on the current page.