RpDataSource:FilterExpression  Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpDataSource Class >

RpDataSource:FilterExpression  Access/Assign

Previous pageReturn to chapter overviewNext page
Type        String

Purpose

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

Example

// Set the filter to include only customers named Smith

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

 

// Clear the current filter

oDataSource:FilterExpression := ""