ReportPivots (Collection)

Member of:

ReportHeader object, ReportFooter object, PageHeader object, PageFooter object, Body object

Description:

Represents all Smart Pivot objects in the report section.

When you insert a Pivot object in the report section, a proportional copy is placed in every band instance. Any Pivot dropped into a header/footer that is owned by data is focused by that piece of data. Smart Pivot reports are smart because only the corresponding section of the embedded report displays in each band instance.

Example:

This example shows how to count the number of Pivot reports inserted in the Body band of the report:

Alert(ActiveDocument.Sections["Report"].Body.Pivots.Count)

Methods:

Item(NameOrIndex as Name)

Properties:

Read-only: Count as Number

Objects:

ReportPivot object