RpReport:FilterExpression  Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpReport Class >

RpReport:FilterExpression  Access/Assign

Previous pageReturn to chapter overviewNext page
Type        String


To get/set an optional expression used as a filter.  The filter determines which records are included in the primary section.  The assigned value must be a valid expression or an empty string ("") to clear the filter expression.


// Set the filter to include only customers named Smith

oRpReport:FilterExpression := " Customer.Name = 'Smith' "


// Clear the current filter

oRpReport:FilterExpression := ""

Note:        This access/assign maps directly to the primary section of the report.