RpReport:WhileExpression Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpReport Class >

RpReport:WhileExpression Access/Assign

Previous pageReturn to chapter overviewNext page
Type        String

Purpose

To get/set an optional expression used to implement a print while condition.  Records are included into a section until the while expression returns FALSE (or there is no more records to process). This must be a valid expression or an empty string ("") to clear the while condition.

Example

// keep producing the report until you find

// a name that begins with "H" or greater

 

oRpReport:WhileExpression := "Customer.Name < 'G' "

Note:        This access/assign maps directly to the first table object in the primary section.  It only applies if the first table object is a rpRDDTable.