This program generates a simple report of the data in the customer database table. The two parts of a report, the report driver logic and the report definition are illustrated. A technique to allow a user to interrupt a long-running report is shown.
This program generates a simple report of the data in the customer database table. The two parts of a report, the report driver logic and the REPORT program block (report definition) are illustrated. Then the program is modified to display a window containing a ProgressBar, and allowing the user to interrupt the report before it is finished.
Figure 1. Report flow