ReportTable (Object)

Member of:

ReportTable collection

Description:

Represents a specific table object within a specific Report section object.

In the user interface, tables are created with dimension columns and fact columns, where the distinction is typically text versus numeric content. These tables are quite flexible structures in that several tables may be introduced into each band; originating from the same or different result sets in the document.

Example:

This example shows how to simulate the look of a green bar report by alternating the color scheme of every other row between green and white:

ActiveDocument.Sections["Report"].Body.Tables["Table"].BackgroundColor = bqLightGreen
ActiveDocument.Sections["Report"].Body.Tables["Table"].BackgroundAlternateColor = bqWhite
ActiveDocument.Sections["Report"].Body.Tables["Table"].BackgroundAlternateFrequency = 1

Methods:

Item(NameOrIndex as Value)

Properties:

Read-only: Property Count as Number

Objects:

Dimension collection, Facts collection, SortItems collection