Specifies whether this report run requires multiple passes through the data scope to produce output.
ReportListener.TwoPassProcess |
Return Value
Logical data type.
The default value is False (.F.).
Remarks
Applies To: ReportListener Object.
When the TwoPassProcess property is .T., a report executes as a two-pass report. The extra prepass provides the means for the Engine and ReportListener to determine the value of _PAGETOTAL for display in report expressions during the subsequent output pass.
The Visual FoxPro Report System components opt to perform a two-pass report when they find an expression using the _PAGETOTAL system value in the report, or when you explicitly set this property's value to .T.. If TwoPassProcess is .F. but the engine finds a _PAGETOTAL expression in the report, the engine sets the property value to .T. for the duration of the report.
Tip |
|---|
|
By setting TwoPassProcess to |
TwoPassProcess works together with the CurrentPass property to give you information about the status of a report run while it executes. The value of CurrentPass changes depending on the value of TwoPassProcess. See CurrentPass Property for more information. For additional information about how the native Report System components handle these and other reporting options at the beginning and end of a report run, see Understanding Visual FoxPro Object-Assisted Reporting.
See Also
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08Send feedback on this topic to the VFPX Help file project team.
2009-2017 Placed under Creative Commons licensing by Microsoft Corporation.
Tip