Fields (Collection)

Member of:

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

Description:

Represents all field objects in the report section.

Example:

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

Alert(ActiveDocument.Sections["Report"].Body.Fields.Count + " Number of fields in this band")

Methods:

Item(Value As NameOrIndex)

Properties:

Read-only: Count as Number

Objects:

ReportName Field, Path Field, FileName Field, Date TimeNow Field, TimeNowField, DateNow Field, Time Field, Last Printed Field, Date Field, LastSaved Field, Page XofY Field, PageCount Field, PageNm Field, Query SQL field, Result Limit, Query Limit, Field