RpReport:YieldAfter Assign

<< Click to Display Table of Contents >>

Navigation:  RpReport Class >

RpReport:YieldAfter Assign

Previous pageReturn to chapter overviewNext page
Type        ShortInt

Purpose

To set the interval at which ReportPro yields control to MS-Windows.  By default ReportPro yields control to MS-Windows after processing 100 logical records.  If your application is performing a time sensitive task, you may want to decrease YieldAfter.  A YieldAfter value of 1 yields control to MS-Windows after each record.  Setting a low YieldAfter value increases the amount of time required to run a report.

Example

// Force ReportPro to yield after 10 records

oRpReport:YieldAfter := 10