RpReport:ExpressionBuilder() Method
<< Click to Display Table of Contents >> RpReport:ExpressionBuilder() Method |
![]() ![]() ![]() |
Purpose
Display the ReportPro Expression Builder.
Syntax
<oRpReport>: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 report filter.
cExp:=oRpReport:ExpressionBuilder(self, "My Caption",;
"Customer.Name='Smith'", true, true)
Note: | This method displays the Expression Builder for the primary section of the report. |