RRPrinted()

<< Click to Display Table of Contents >>

Navigation:  Available Functions >

RRPrinted()

Syntax

RRPrinted()

 

Purpose

To determine how many report records have printed so far during the course of a report.

 

Parameters

None.

 

Returns

RRPrinted() will return a numeric value which is the total number of records which have actually been printed so far for the report currently in progress. This number may be less than the actual number of records processed (given by RRProcessed()) if the report format contains a conditional print expression which excludes one or more source records from the actual report printout.

 

Usage

RRPrinted() is intended solely for use within a running report. While its output may actually be printed, it is more likely you will use its value in a computed field formula, or to to implement any specialized logic you may have incorporated into the field print conditions of a report.

 

Example

The following examples illustrate the RRPrinted() function:

 

CALL

RESULT

RRPrinted()

<Number of records printed>

RRProcessed() - RRPrinted()

<Number of records skipped>