Operation Manual
Report Processing Model
Overview
A
Crystal Reports User’s Guide 529
• Cross-Tab, chart, and map generation. Only Cross-Tabs, charts, and
maps that are based entirely on database fields and recurring formulas
are generated in Pass 1. If these objects include running totals and/or
PrintTime formulas, they are generated in Pass 2.
• Storage of saved data. After the totaling process is complete, all of the
records and totals are stored in memory and to temporary files. Crystal
Reports does not read the database again, but instead uses this saved
data during all subsequent processing.
Pre-pass 2
During Pre-Pass 2, Crystal Reports orders the groups in the report for Top/
Bottom N or Hierarchical Grouping. The records are not read in this process,
instead Crystal Reports only looks at group instances from Pass 1, and takes
the Top N as appropriate, or orders the groups based on the Hierarchical
Grouping settings specified.
Pass 2
Crystal Reports enters the second pass through the data to format pages.
The pages are formatted on demand. This means that Crystal Reports will not
format a page until it is requested by the user, or until it is required for the total
page count in Pass 3.
During page formatting, Crystal Reports does the following:
• Group selection formulas.
• Running totals.
• Calculation of formulas marked “WhilePrinting Records.”
These are formulas that contain references to subtotals or summary
information, also known as “PrintTime” formulas. This evaluation time is
known as “WhilePrinting Records.”
• Cross-Tabs, charts, and maps.
Cross-Tabs, charts, and maps that include running totals and/or PrintTime
formulas, and charts that are based on Cross-Tabs are generated in Pass 2.
• OLAP grids.
• Subreports.
• Generation of Pages on Demand.
Note: Subtotals, grand totals, and summaries may appear to be incorrect if
the report has a group selection formula. This occurs because the grand