RpSection:ExpressionBuilder() Method
<< Click to Display Table of Contents >> RpSection:ExpressionBuilder() Method |
![]() ![]() ![]() |
Purpose
Display the ReportPro Expression Builder within the context of a specific section.
Syntax
<oRpSection>:ExpressionBuilder(oOwner, cCaption, cExpression, lAllowEmpty, lForceLogic) cExpression
Arguments
oOwner |
The window owner of the Expression Builder dialog window. |
cCaption |
The caption of the Expression Builder dialog window. |
cExpression |
The initial expression displayed in the Expression Builder. |
LAllowEmpty |
Logic indicating if the Expression Builder should allow the user to return an empty ("") expression. |
lForceLogic |
Logic indicating if the expression (when evaluated) must return a logical value. |
Description
Returns the new expression or cExpression if the user presses cancel.
Example
// Display the expression builder so the user
// can specify a filter.
cExp:=oRpSection:ExpressionBuilder(self, "My Caption",;
"Customer.Name='Smith'", true, true)