RpReport:SeekExpression Access/Assign

<< Click to Display Table of Contents >>

Navigation:  RpReport Class >

RpReport:SeekExpression Access/Assign

Previous pageReturn to chapter overviewNext page
Type        String


To get/set the seek expression of a rpRDDTable object.  If a seek expression is specified, it is evaluated at the beginning of the report prior to printing.  The value returned from the seek expression is used to perform a soft seek against the index of the primary table in the section.  After the seek is performed, reporting starts. The assigned value must be a valid expression or an empty string ("") to clear the seek expression.


// To force an inventory report to start at a

// certain part number

oRpReport:SeekExpression := " padr('3173081',20) "


// Clear the seek expression

oRpReport:SeekExpression := ""

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.