Reports Information


Report Iterator

Use the Report Iterator Report Iterator icon part to report on a collection of objects, such as the result table of a database query, a collection of model objects, or a stream of objects or characters.

Class Name: AbtReportIterator

Like a Report Shell, a Report Iterator has a header, body, and footer. These are special forms that have the following functions:

You can add a Report Iterator part to a Report Line part on a report shell, a report form, or another Report Iterator. Within the body of the Report Iterator, you can place any number of lines containing fields, forms, or nested iterators.

To use this part, you need to associate it with the data to be iterated on. Several standard iterable objects, such as ordered collections, streams, and database query result tables, have been enabled for reporting. These objects now have Quick Report forms that connect the data in an iterable object (such as the current row in a result table or the current item in a collection) to fields in a Report Iterator.

Any iterable object can be enabled for reporting by implementing a simple protocol. The Report Iterator's body is repeated for each item of data. The fields in the body are updated for each item by connections to attributes of the current item.

This part can inherit all of its settings from the Report Shell part, or you can work with its public interface and settings to format it independently of the Report Shell part. You can also access the public interface and settings of its components individually.

Properties

Attributes

Actions

Events


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]